libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Retrieving full POST url path


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Retrieving full POST url path
Date: Fri, 21 Mar 2014 21:09:48 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

You got the full URL in the main callback which you used to
initialize/run the post processor.  If needed, you can obviously put it
(and/or other information) into the closure (void *).

Happy hacking!

Christian

On 03/21/14 11:22, Kobi Cohen-Arazi wrote:
> Hello,
> 
> Is there a way to retrieve the full POST url rather than just the filename?
> 
> e.g.
> 
> If post URL is http://somehost.com/path/to/post/file.txt, I'm only
> getting "file.txt" in the callback registered with
> MHD_create_post_processor.
> Is there a way to retrieve the full url - "path/to/post/file.txt" ?
> 
> Thank you,
> - Kobi
> 
>         0
>     ----
>  _ `\ <,_
> (*) /   (*)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]