Expect: 100-Continue

Giganews Newsgroups
Subject: Expect: 100-Continue
Posted by:  Larry Hamann (larryhama…@mi-assistant.com)
Date: Tue, 31 Aug 2004

I am using Indy component shipped with Delphi 7.

My program posts XML data to a company that has introduced a new server into
the mix.  It is requiring an Expect: 100-Continue "handshake."

Without completing a handshake, every order produces a HTTP/1.1 400 Bad
Request.  When uses the Head method for the handshake, and only the Expect
header, my program receives a HTTP/1.1 200 OK response.  If I include their
custom headers when using Head, it produces the HTTP/1.1 400 Bad Request
error.

Are there versions of Indy that do not allow for the use of Expect:
100-Continue?

Does anyone have an example of Expect: 100-Continue workflow coded in
Delphi?

Replies