commit | 9219722ea570ea20f00ef82ee1b0a400d896ab3e | [log] [tgz] |
---|---|---|
author | tyoshino@chromium.org <tyoshino@chromium.org> | Wed Sep 17 03:54:30 2014 |
committer | tyoshino@chromium.org <tyoshino@chromium.org> | Wed Sep 17 03:54:30 2014 |
tree | dc2c8fc69cc1da063c94192b285f18fe093f6875 | |
parent | 48c55e48a05c40801b5633756b94ca1871f95316 [diff] |
When returning 401 response, WebSocketRequestHandler.parse_request must return False Returning False prevents the default handler from being run R=ricea@chromium.org Review URL: https://codereview.appspot.com/138370043 git-svn-id: https://pywebsocket.googlecode.com/svn/trunk/src@849 4ff78f4a-9131-11de-b045-6380ec9940d4
diff --git a/mod_pywebsocket/standalone.py b/mod_pywebsocket/standalone.py index 2aaa50e..e176327 100755 --- a/mod_pywebsocket/standalone.py +++ b/mod_pywebsocket/standalone.py
@@ -722,7 +722,7 @@ 'Basic realm="Pywebsocket"') self.end_headers() self._logger.info('Request basic authentication') - return True + return False host, port, resource = http_header_util.parse_uri(self.path)