|
From: | Pawel Veselov |
Subject: | Re: [libmicrohttpd] Problems receiving POST data. |
Date: | Wed, 14 May 2014 03:43:06 -0700 |
Hi.I just started using libmicrohttpd, and can't quite figure out the POST data.The request headers are:POST /r/43/0 HTTP/1.1Host: druid:1182Content-Range: bytes 0-18085/18086Content-Type: image/pngContent-Length: 18086and the body is correctly present (checked in wireshark)In my access handler, I print out:DBG("HTTP %s %s, %d bytes, %p",method, url, *upload_data_size, upload_data);DBG("post data cnt : %d\n",MHD_get_connection_values(conn, MHD_POSTDATA_KIND, 0, 0));Everything is 0, the *upload_data_size, upload_data ptr,and count of MHD_POSTDATA connection values. The access handleris only called once.MHD_VERSION is 0x00091600Any help with what I'm missing, or where to poke, will be greatly appreciated.
[Prev in Thread] | Current Thread | [Next in Thread] |