embedthis/http — pull request #7 by jchampio (2012-08-09 15:57:08+00:00)
Title: Adding Expect: 100-continue support

HTTP/1.1 clients that send an Expect: 100-continue header will cause Appweb to
send an HTTP 100 Continue interim response. Any expectations other than
"100-continue" will result in a 417 Expectation Failed. This implementation
works by writing directly to the socket, bypassing the pipeline.

100 Continue is not sent if a stage's start() callback reports an httpError, or
if any code has already written to the socket through a connector. This allows
HTTP errors to be immediately reported back to clients.