[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] File imperative for MHD_post_process() and MHD_PostD
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] File imperative for MHD_post_process() and MHD_PostDataIterator()? |
Date: |
Wed, 16 Sep 2015 09:15:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 |
Hi Bob,
I do not understand your question at all. MHD_PostDataIterator is the
type of a function you need to provide to the MHD PP, not something you
'access'.
Also, I don't know what you are talking about with 'xdr data', maybe
you're talking about some Microsoft non-standard XDomainRequest
protocol, or something else non-standard? Anyway, the MHD PP supports
certain common HTTP POST encodings. If you require something
else/different, you need to write your own POST-processor. The MHD API
allows this, so there should be no problem for you if you can write your
own parser.
Happy hacking!
Christian
On 09/15/2015 08:18 PM, Bob Furber wrote:
> Is there any way I can access a MHD_PostDataIterator when it is called
> in a special situation where xhr data (not a file upload) is to be saved
> to a file, instead of being a file upload? That is, data is uploaded
> inside a xhr POST message, along with its destination path/filename.
>
> It seems that MHD_PostDataIterator parameters such as filename must
> pre-exist in order for the MHD_PostDataIterator to be called. Is there
> any way around this?
>
>
>
0xE29FC3CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature