Board index » delphi » TIdHTTP Post method - only HTTP 1.1?

TIdHTTP Post method - only HTTP 1.1?


2004-07-23 09:58:54 PM
delphi77
Hello
I try to set up a HTTP Post, but it seems that the server needs HTTP
Version 1.1 instead of 1.0, it is the only difference between the
browser request (which works) and the Delphi request (which doesn't).
Is there any way to force Indy to make a post with HTTP Version 1.1?
Thanks a lot
Ivo
 
 

Re:TIdHTTP Post method - only HTTP 1.1?

"Erklaerbaer" <XXXX@XXXXX.COM>writes
Quote
I try to set up a HTTP Post, but it seems that the server
needs HTTP Version 1.1 instead of 1.0, it is the only
difference between the browser request (which works)
and the Delphi request (which doesn't).
Set the ProtocolVersion property to pv1_1 and then make sure that
hoKeepOrigProtocol is enabled in the Options property.
Gambit