[fpc-pascal] Premature end of headers using fcl-web and POST

ABorka fpc-devel at aborka.com
Mon Oct 31 18:36:34 CET 2011


On 10/31/2011 10:14, Felipe Monteiro de Carvalho wrote:
> There is no form and no form data here. I want to pass raw data via
> post. And yes, I checked that it is sent correctly.

Then your Content-Type header is neither "MULTIPART/FORM-DATA" nor 
"APPLICATION/X-WWW-FORM-URLENCODED" when you use POST.
It must be one of these two.

http://www.w3.org/TR/html4/interact/forms.html#h-17.13.4

AB




More information about the fpc-pascal mailing list