Fix two bugs in the new do_open() implementation for HTTPHandler.
Invoke the standard error handlers for non-200 responses. Always supply a "Connection: close" header to prevent the server from leaving the connection open. Downstream users of the socket may attempt recv()/read() with no arguments, which would block if the connection were kept open.
J
Jeremy Hylton committed
b3ee6f9921a0979b77a64b83f2f3a267ae66916e
Parent: f0ae427