Remove traces of rfc822.

This commit is contained in:
Georg Brandl 2008-06-12 22:23:59 +00:00
parent a0c0a4a261
commit 9f0f960d4c
6 changed files with 12 additions and 11 deletions

View file

@ -315,7 +315,7 @@ class BaseHTTPRequestHandler(socketserver.StreamRequestHandler):
# 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