e3f0f31e07
Since "read-exactly" stream refactor, where stream.read(N) will read exactly N bytes (unless EOF), http_server* examples can't any longer do client_socket.read(4096) and expect to get full request (it will block on HTTP/1.1 client). Instead, read request line by line, as the HTTP protocol requires. |
||
---|---|---|
.. | ||
http_client.py | ||
http_client_ssl.py | ||
http_server.py | ||
http_server_ssl.py |