On 05/14/2014 12:43 PM, Pawel Veselov wrote: > /me shamefully found > http://lists.gnu.org/archive/html/libmicrohttpd/2012-04/msg00002.html > > Is it then generally safe to assume that with "POST" method, I can always > reply with MHD_YES, expecting that access handler will be called again, or > do I need to check for crazy agents that may post with a 0 content-length?
It is always safe to return MHD_YES. MHD_NO must only be returned if the connection must be closed due to a hard error, no HTTP error code is generated. Happy hacking! Christian
