зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1533848 - Suppress HTTP 200 request log output, r=rwood.
Depends on D26972 Differential Revision: https://phabricator.services.mozilla.com/D26973 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
73d6f12ca4
Коммит
5968316eb9
|
@ -29,6 +29,10 @@ def MakeCustomHandlerClass(results_handler, shutdown_browser, write_raw_gecko_pr
|
|||
self.write_raw_gecko_profile = write_raw_gecko_profile
|
||||
super(MyHandler, self).__init__(*args, **kwargs)
|
||||
|
||||
def log_request(self, code='-', size='-'):
|
||||
if code != 200:
|
||||
super(MyHandler, self).log_request(code, size)
|
||||
|
||||
def do_GET(self):
|
||||
# get handler, received request for test settings from web ext runner
|
||||
self.send_response(200)
|
||||
|
|
Загрузка…
Ссылка в новой задаче