aboutsummaryrefslogtreecommitdiff
path: root/src/identity
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2015-03-27 13:40:35 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2015-03-27 13:40:35 +0000
commit7c360cc7c7252bdf740b4e5186f1a852f002b13b (patch)
tree8d7958407db1881767abd334b97f1b7baa249a82 /src/identity
parentb18ef62fd8970e1bfb2b3958cee855e2b732d94b (diff)
downloadgnunet-7c360cc7c7252bdf740b4e5186f1a852f002b13b.tar.gz
gnunet-7c360cc7c7252bdf740b4e5186f1a852f002b13b.zip
-PUT since MHD cannot PATCH; add config
Diffstat (limited to 'src/identity')
-rw-r--r--src/identity/plugin_rest_identity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity/plugin_rest_identity.c b/src/identity/plugin_rest_identity.c
index e672c70ef..181a21c12 100644
--- a/src/identity/plugin_rest_identity.c
+++ b/src/identity/plugin_rest_identity.c
@@ -658,7 +658,7 @@ init_cont (struct RequestHandle *handle)
658 static const struct GNUNET_REST_RestConnectionHandler handlers[] = { 658 static const struct GNUNET_REST_RestConnectionHandler handlers[] = {
659 {MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY, &ego_info_response}, 659 {MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_IDENTITY, &ego_info_response},
660 {MHD_HTTP_METHOD_POST, GNUNET_REST_API_NS_IDENTITY, &ego_create_cont}, 660 {MHD_HTTP_METHOD_POST, GNUNET_REST_API_NS_IDENTITY, &ego_create_cont},
661 {MHD_HTTP_METHOD_PATCH, GNUNET_REST_API_NS_IDENTITY, &ego_edit_cont}, 661 {MHD_HTTP_METHOD_PUT, GNUNET_REST_API_NS_IDENTITY, &ego_edit_cont},
662 {MHD_HTTP_METHOD_DELETE, GNUNET_REST_API_NS_IDENTITY, &ego_delete_cont}, 662 {MHD_HTTP_METHOD_DELETE, GNUNET_REST_API_NS_IDENTITY, &ego_delete_cont},
663 GNUNET_REST_HANDLER_END 663 GNUNET_REST_HANDLER_END
664 }; 664 };