Revision 5ae4945a lib/http/server.py
b/lib/http/server.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2007, 2008, 2010 Google Inc. |
|
4 |
# Copyright (C) 2007, 2008, 2010, 2012 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
202 | 202 |
|
203 | 203 |
if version_number >= (2, 0): |
204 | 204 |
raise http.HttpVersionNotSupported("Invalid HTTP Version (%s)" % |
205 |
base_version_number) |
|
205 |
base_version_number)
|
|
206 | 206 |
|
207 | 207 |
elif len(words) == 2: |
208 | 208 |
version = http.HTTP_0_9 |
Also available in: Unified diff