summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_patch_product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_patch_product.c')
-rw-r--r--src/testing/testing_api_cmd_patch_product.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/testing/testing_api_cmd_patch_product.c b/src/testing/testing_api_cmd_patch_product.c
index 6e4613df..ed64d8f3 100644
--- a/src/testing/testing_api_cmd_patch_product.c
+++ b/src/testing/testing_api_cmd_patch_product.c
@@ -137,12 +137,20 @@ patch_product_cb (void *cls,
}
switch (hr->http_status)
{
- case MHD_HTTP_OK:
+ case MHD_HTTP_NO_CONTENT:
+ break;
+ case MHD_HTTP_UNAUTHORIZED:
+ break;
+ case MHD_HTTP_FORBIDDEN:
+ break;
+ case MHD_HTTP_NOT_FOUND:
+ break;
+ case MHD_HTTP_CONFLICT:
break;
- // FIXME: add other legitimate states here...
default:
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Unhandled HTTP status.\n");
+ "Unhandled HTTP status %u for PATCH /products/ID.\n",
+ hr->http_status);
}
TALER_TESTING_interpreter_next (pis->is);
}