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