[issue1491] BaseHTTPServer incorrectly implements response code 100

samwyse report at bugs.python.org
Fri Dec 7 07:33:39 CET 2007


samwyse added the comment:

Refactoring sounds like a good idea.  Someone would need to check how
other web servers log this, if at all.  You're probably right about the
HTTP/0.9 as well.

The main reason to send a 100 response is because the client sent an
"Expect: 100-continue" header, and won't send data until either it
receives the header or a timeout expires.  The server is expected to
validate the received headers before sending the response, although it
is allowed to send it in any event.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1491>
__________________________________


More information about the Python-bugs-list mailing list