From: Andrew M. Kuchling Date: Mon, 3 Feb 2003 15:21:15 +0000 (+0000) Subject: Bug #676273: Rewrite paragraph in module docstring X-Git-Tag: v2.3c1~2084 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ca202e39595c2080e3648799f5821122b4c4e4c;p=python Bug #676273: Rewrite paragraph in module docstring --- diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py index 2e7bb3ff38..69d417a644 100644 --- a/Lib/BaseHTTPServer.py +++ b/Lib/BaseHTTPServer.py @@ -132,11 +132,11 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler): is encoded using the URL encoding scheme (using %xx to signify the ASCII character with hex code xx). - The protocol is vague about whether lines are separated by LF - characters or by CRLF pairs -- for compatibility with the widest - range of clients, both should be accepted. Similarly, whitespace - in the request line should be treated sensibly (allowing multiple - spaces between components and allowing trailing whitespace). + The specification specifies that lines are separated by CRLF but + for compatibility with the widest range of clients recommends + servers also handle LF. Similarly, whitespace in the request line + is treated sensibly (allowing multiple spaces between components + and allowing trailing whitespace). Similarly, for output, lines ought to be separated by CRLF pairs but most clients grok LF characters just fine.