Commit 8ca202e3 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Bug #676273: Rewrite paragraph in module docstring

parent 9a0db07c
...@@ -132,11 +132,11 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler): ...@@ -132,11 +132,11 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler):
<path> is encoded using the URL encoding scheme (using %xx to signify <path> is encoded using the URL encoding scheme (using %xx to signify
the ASCII character with hex code xx). the ASCII character with hex code xx).
The protocol is vague about whether lines are separated by LF The specification specifies that lines are separated by CRLF but
characters or by CRLF pairs -- for compatibility with the widest for compatibility with the widest range of clients recommends
range of clients, both should be accepted. Similarly, whitespace servers also handle LF. Similarly, whitespace in the request line
in the request line should be treated sensibly (allowing multiple is treated sensibly (allowing multiple spaces between components
spaces between components and allowing trailing whitespace). and allowing trailing whitespace).
Similarly, for output, lines ought to be separated by CRLF pairs Similarly, for output, lines ought to be separated by CRLF pairs
but most clients grok LF characters just fine. but most clients grok LF characters just fine.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment