osmo-smdpp + es9p_client: HTTP status 204 is used for handleNotification

As SGP.22 states, the handleNotification endpoint uses HTTP status 204,
not 200 (due to its empty body).

Change-Id: I890bdbd3e1c4578d2d5f0367958fdce26e338cac
This commit is contained in:
Harald Welte
2024-07-16 16:53:54 +02:00
parent e18586ddf0
commit 92bae20b49
2 changed files with 4 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ class HandleNotification(Es9PlusApiFunction):
'pendingNotification': param.PendingNotification,
}
input_mandatory = ['pendingNotification']
expected_http_status = 204
# ES9+ CancelSession function (SGP.22 section 6.5.2.10)
class CancelSession(Es9PlusApiFunction):