[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] What is the `transfer_encoding` param in the MHD_Pos
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] What is the `transfer_encoding` param in the MHD_PostDataIterator callback? |
Date: |
Sat, 20 Feb 2016 23:05:51 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 |
See RFC 2388, section 4.5: https://tools.ietf.org/html/rfc2388
You get whatever the browser put under "content-transfer-encoding",
or nothing if it wasn't supplied.
Happy hacking!
Christian
On 02/20/2016 06:01 PM, silvioprog wrote:
> Hello listers,
>
> The MHD_PostDataIterator documentation says:
>
> *transfer_encoding*
> * encoding of the data, NULL if not known;*
>
> Awesome. But, I don't know how to use this feature, so I have two questions:
>
> . do I need to send some header in the x-www-form-urlencoded POST?
> . do I need to send some header in the form-data POST?
>
> Just to try to understand, I checked the `encoding` property of the `file`
> object in the NodeJS Multer plugin, however it always return only the
> `7bit` value.
>
> Thanks in advance for any information!
>
> --
> Silvio Clécio
>
signature.asc
Description: OpenPGP digital signature