-Merge branch 'master' into identity_oidc
authorPhil <phil.buschmann@tum.de>
Mon, 22 Jan 2018 16:44:28 +0000 (17:44 +0100)
committerPhil <phil.buschmann@tum.de>
Mon, 22 Jan 2018 16:44:28 +0000 (17:44 +0100)
1  2 
src/rest/gnunet-rest-server.c

index ea8108f3afc58504f33de8c1ce1ab605f0bbeee7,c79c807a6da15e65dcf5fba0b2366d419b0ec400..8e6688b5ae39475d7b8f8799e1e4cf72f03195dd
@@@ -398,14 -398,10 +398,14 @@@ create_response (void *cls
                                 MHD_GET_ARGUMENT_KIND,
                                 &url_iterator,
                                 rest_conndata_handle);
 +    MHD_get_connection_values (con,
 +                               MHD_HEADER_KIND,
 +                               &header_iterator,
 +                               rest_conndata_handle);
      con_handle->pp = MHD_create_post_processor(con,
-                                                4000,
-                                                post_data_iter,
-                                                rest_conndata_handle);
+                                              4000,
+                                              post_data_iter,
+                                              rest_conndata_handle);
      if (*upload_data_size)
      {
        MHD_post_process(con_handle->pp, upload_data, *upload_data_size);