summaryrefslogtreecommitdiffstats
path: root/Lib/BaseHTTPServer.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2003-02-03 15:21:15 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2003-02-03 15:21:15 (GMT)
commit8ca202e39595c2080e3648799f5821122b4c4e4c (patch)
treeece931b0102ca0d0b825f4221e0d354d55ecd2e8 /Lib/BaseHTTPServer.py
parent9a0db07c2ffd4e4b3ae75d5820dc6b4152b3582b (diff)
downloadcpython-8ca202e39595c2080e3648799f5821122b4c4e4c.zip
cpython-8ca202e39595c2080e3648799f5821122b4c4e4c.tar.gz
cpython-8ca202e39595c2080e3648799f5821122b4c4e4c.tar.bz2
Bug #676273: Rewrite paragraph in module docstring
Diffstat (limited to 'Lib/BaseHTTPServer.py')
-rw-r--r--Lib/BaseHTTPServer.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/BaseHTTPServer.py b/Lib/BaseHTTPServer.py
index 2e7bb3f..69d417a 100644
--- a/Lib/BaseHTTPServer.py
+++ b/Lib/BaseHTTPServer.py
@@ -132,11 +132,11 @@ class BaseHTTPRequestHandler(SocketServer.StreamRequestHandler):
<path> 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.