diff options
Diffstat (limited to 'src/testing/testing_api_cmd_post_reserves.c')
-rw-r--r-- | src/testing/testing_api_cmd_post_reserves.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_post_reserves.c b/src/testing/testing_api_cmd_post_reserves.c index 4f18dbde..31866384 100644 --- a/src/testing/testing_api_cmd_post_reserves.c +++ b/src/testing/testing_api_cmd_post_reserves.c @@ -104,17 +104,18 @@ post_reserves_cb (void *cls, } switch (hr->http_status) { - case MHD_HTTP_NO_CONTENT: + case MHD_HTTP_OK: break; - case MHD_HTTP_CONFLICT: + case MHD_HTTP_ACCEPTED: break; - case MHD_HTTP_OK: + case MHD_HTTP_UNAUTHORIZED: + break; + case MHD_HTTP_NOT_FOUND: break; - // FIXME: add other legitimate states here... default: GNUNET_break (0); GNUNET_log (GNUNET_ERROR_TYPE_WARNING, - "Unhandled HTTP status (%d).\n", + "Unhandled HTTP status %u for POST /reserves.\n", hr->http_status); } prs->reserve_pub = *reserve_pub; |