fixed regex status in http.py
This commit is contained in:
@@ -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',
|
505: 'HTTP VERSION NOT SUPPORTED',
|
||||||
}
|
}
|
||||||
|
|
||||||
regex_status = re.compile('^\d{3} \w+$')
|
regex_status = re.compile('^\d{3} [0-9A-Z ]+$')
|
||||||
|
|
||||||
|
|
||||||
class HTTP(Exception):
|
class HTTP(Exception):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user