remove default from host in _get method

This commit is contained in:
Raphael Deem 2017-01-10 16:01:21 -08:00
parent 57f27c41e0
commit 055430d4b8

View File

@ -158,7 +158,7 @@ class Router:
request.headers.get("Host", ''))
@lru_cache(maxsize=Config.ROUTER_CACHE_SIZE)
def _get(self, url, method, host=None):
def _get(self, url, method, host):
"""
Gets a request handler based on the URL of the request, or raises an
error. Internal method for caching.