On 05/17/2018 06:52 AM, Austin Einter wrote:
> Hello
> I am using libmicrohttpd and facing issue with POST processing.
>
> The POST message received contains xml or json data. libmicrohttpd does
> not support xml / json. So I can not use post process or iterate
> callbacks for body data processing
Hello Austin,
As Christian explained, via "upload_data" you can receive any payload kind.
I'm writting a library which maps MHD callbacks to "objects" and it needs
to support the following features:
1. receive one or more files *on demand* (to receive large files about 5
GB+ without "frying" CPU/
Hello
When I tried, if content type is xml, post processor crate failed (it
returned null).
When content type is binary, it created post processor, however when I call
post process api, the iterate callback not called.
That made me to search google.
Somewhere I read it does not support xml and jso
Could you show a smallest code example showing how you are trying (both
server and client side)? (for client side I've used curl and it sends fine
any payload kind)
On Thu, May 17, 2018 at 11:33 AM, Austin Einter
wrote:
> Hello
> When I tried, if content type is xml, post processor crate failed
Unless something broke in a very recent version, POST definitely works with
JSON data. I do it all the time. I could be wrong, but I suspect MHD does
not care about the data type at all.
I very strongly suspect the problem is in your code or your test. Since it
works with form data, are you sur