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:
Bob Clary 2019-04-16 18:26:44 +00:00
Родитель 73d6f12ca4
Коммит 5968316eb9
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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)