mirror of https://github.com/dirtbags/moth.git
Merge branch 'develop' into neale
This commit is contained in:
commit
bd26dd23fd
|
@ -22,9 +22,9 @@ try:
|
||||||
from http.server import HTTPStatus
|
from http.server import HTTPStatus
|
||||||
except ImportError:
|
except ImportError:
|
||||||
class HTTPStatus:
|
class HTTPStatus:
|
||||||
OK = (200, 'OK', 'Request fulfilled, document follows')
|
OK = 200
|
||||||
NOT_FOUND = (404, 'Not Found', 'Nothing matches the given URI')
|
NOT_FOUND = 404
|
||||||
INTERNAL_SERVER_ERROR = (500, 'Internal Server Error', 'Server got itself in trouble')
|
INTERNAL_SERVER_ERROR = 500
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue