|Subject:||Re: I get 411 content length required error...|
|Posted by:||Remy Lebeau (TeamB) (email@example.com)|
|Date:||Fri, 13 Jan 2006|
"Ron Mertens" <r…@metalgrass.com> wrote in message
> I try to POST some data to a server, and I get the above mentioned error
> (HTTP/1.1 411 Content length required).
Which version of Indy are you using? Please show your actual code. TIdHTTP
should always be including a Content-Length header for POST requests.
> I try to set this field to some value, but I get the error no matter
> what's inside the request.
Please show the raw HTTP traffic.
> What am I doing wrong? How can I compute the real content
> length of my message?
You don't have to. TIdHTTP does that automatically.
I get 411 content length required error... posted by Ron Mertens on Fri, 13 Jan 2006