diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2003-02-03 19:11:18 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2003-02-03 19:11:18 (GMT) |
commit | 2de97d398d5a66307228b1269812da94e65e20a3 (patch) | |
tree | dc1d737a19ad6be45e7d640773166ba923a577fb /Lib/pickle.py | |
parent | 868ecc22ab2207b1f9a36f803eaa58f5c3037657 (diff) | |
download | cpython-2de97d398d5a66307228b1269812da94e65e20a3.zip cpython-2de97d398d5a66307228b1269812da94e65e20a3.tar.gz cpython-2de97d398d5a66307228b1269812da94e65e20a3.tar.bz2 |
[Bug #676292] BaseHTTPServer incorrectly parses protocol; fix by Andrew Dalke
* Treat major, minor numbers of HTTP version as separate integers
* Fix errors if version string is "HTTP/1.2.3" or even simply "BLAH".
* send_error() checks if 'self.command' is a
HEAD. However, if there's an error parsing the first line of the
HTTP request the self.command wasn't set yet; force
self.command to be initialized to None.
Diffstat (limited to 'Lib/pickle.py')
0 files changed, 0 insertions, 0 deletions