Mercurial > cpython-lru_cache-weakref
diff Lib/http/server.py @ 47657:109e9748c7f4
Remove traces of rfc822.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Thu, 12 Jun 2008 22:23:59 +0000 |
| parents | f31e32a2013c |
| children | 5a416a6417d3 |
line wrap: on
line diff
--- a/Lib/http/server.py Thu Jun 12 22:15:50 2008 +0000 +++ b/Lib/http/server.py Thu Jun 12 22:23:59 2008 +0000 @@ -315,7 +315,7 @@ # Examine the headers and look for a Connection directive. - # MessageClass (rfc822) wants to see strings rather than bytes. + # MessageClass wants to see strings rather than bytes. # But a TextIOWrapper around self.rfile would buffer too many bytes # from the stream, bytes which we later need to read as bytes. # So we read the correct bytes here, as bytes, then use StringIO
