fixed regex status in http.py
This commit is contained in:
1 parent
47e77e9a9c
commit
add6fa526e
2 files changed
+2
-3
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.7.1-stable+timestamp.2013.10.06.10.07.46
|
||||
Version 2.7.1-stable+timestamp.2013.10.06.11.51.31
|
||||
+1
-2
@@ -54,8 +54,7 @@ defined_status = {
|
||||
505: 'HTTP VERSION NOT SUPPORTED',
|
||||
}
|
||||
|
||||
regex_status = re.compile('^\d{3} \w+$')
|
||||
|
||||
regex_status = re.compile('^\d{3} [0-9A-Z ]+$')
|
||||
|
||||
class HTTP(Exception):
|
||||
|
||||
|
||||
Reference in new issue
Block a user