[Top][All Lists]

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

Re: [libmicrohttpd] Question about libmicrohttp

From: Christian Grothoff
Subject: Re: [libmicrohttpd] Question about libmicrohttp
Date: Fri, 14 Sep 2007 16:07:19 -0600
User-agent: KMail/1.9.7

On Friday 14 September 2007 01:07:19 pm you wrote:
> Christian,
> Thank you for your patient help!  After looking at the implementation in
> postprocessor.c I think libmicrohttp may not be able to handle SOAP
> request.
> Usually SOAP message is delivered via POST method and Content-Type tag
> in the http header of SOAP request may not be either
> "application/x-www-form-urlencoded" or "multipart/form-data".
> However MHD_create_post_process() and MHD_post_process() do check the
> existence of one of these two value. That means it can't understand SOAP
> request as expected.
> Please correct me if I am wrong.

That is mostly correct -- in that the PostProcessor may not be useful for you.  
However, you can write your own parser for the POST data and use that (you do 
not HAVE to use the PostProcessor API, it is just there for convenience).  So 
the correct answer is that you can do the HTTP portion of SOAP with MHD, but 
that there is no specific support for parsing the SOAP content type (which I 
was not aware was different, which is why I misleadingly mentioned the 
PostProcessor in the first place).

Best regards,


reply via email to

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