libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] "do never respond on first call"


From: Christian Grothoff
Subject: Re: [libmicrohttpd] "do never respond on first call"
Date: Wed, 24 Jun 2015 21:35:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0

Hi!

It's not a "strict" rule, in that you're in fact required to violate it
if you want to give an error instead of '100 continue' to a POST request.

Also, for everything but this PUT/POST case, you can queue a reply
instantly .  Just if you do so for POST, you (may) suppress '100
continue' which is usually not what you want (unless of course you do
have a reason, like upload too big or authentication failure).

Happy hacking!

-Christian

On 06/24/2015 09:31 PM, Markus Doppelbauer wrote:
> Hello,
> 
> Most of the examples contain the comment:
> /* do never respond on first call */
> 
> Is this a strict rule? If not, what is the reason?
> 
> Thanks a lot!
> Markus
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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