Internet Direct (Indy) Version 9.0.2 Beta
|
function Post(AURL: string; const ASource: TStrings): String; overload; function Post(AURL: string; const ASource: TStream): String; overload; procedure Post(AURL: string; const ASource: TStrings; const AResponseContent: TStream); overload; procedure Post(AURL: string; const ASource: TStream; const AResponseContent: TStream); overload;
Indy currently reverts the HTTP version to 1.0 in a call to the Post method. This occurs because some HTTP servers do not respect the RFC for HTTP 1.1 to the full extent of the specification. In particular, most servers do not send or expect to receive the 100-Continue HTTP header. Until an optimum solution that does NOT break the RFC is discovered, Indy will restrict all POST requests to version HTTP 1.0 compliance.
Post will replace all occurrences of the End-Of-Line (EOL) character in ASource with the value '&' prior to transfer to the HTTP server.
Post calls the DoRequest method to perform the HTTP transfer.