зеркало из https://github.com/mozilla/gecko-dev.git
Bug 805633 - update mozhttpd on m-c;r=wlach ; DONTBUILD because NPOTB
This commit is contained in:
Родитель
e17477fec2
Коммит
9a5e695ca3
|
@ -68,6 +68,10 @@ class RequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||
log_requests = False
|
||||
request = None
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
SimpleHTTPServer.SimpleHTTPRequestHandler.__init__(self, *args, **kwargs)
|
||||
self.extensions_map['.svg'] = 'image/svg+xml'
|
||||
|
||||
def _try_handler(self, method):
|
||||
if self.log_requests:
|
||||
self.request_log.append({ 'method': method,
|
||||
|
|
|
@ -11,7 +11,7 @@ try:
|
|||
except IOError:
|
||||
description = None
|
||||
|
||||
PACKAGE_VERSION = '0.4'
|
||||
PACKAGE_VERSION = '0.5'
|
||||
|
||||
deps = []
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче