fixed regex status in http.py
This commit is contained in:
2
VERSION
2
VERSION
@@ -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
|
||||
|
||||
@@ -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