[fpc-pascal] Premature end of headers using fcl-web and POST
Vincent Snijders
vincent.snijders at gmail.com
Tue Nov 1 07:53:11 CET 2011
2011/11/1 Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com>:
> On Mon, Oct 31, 2011 at 7:30 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>>> So it seems that you MUST set the contenttype either to
>>> MULTIPART/FORM-DATA or APPLICATION/X-WWW-FORM-URLENCODED.
>>
>> Yes, this is as per the HTML specs.
>
> They actually prohibit sending arbitrary data? oh, boy, these people
> like rules and inneficiency =D But there must be something missing
> here, because file upload is possible, and there you send arbitrary
> data.
>
You can send arbitrary data using MULTIPART/FORM-DATA
Vincent
More information about the fpc-pascal
mailing list