Commit 5107d40b by Łukasz Nowak Committed by Łukasz Nowak

caddy-frontend: Fix timeout on the backend

dict in headers is smallcase, so it was never working in reality.
1 parent 115b6bf5
......@@ -585,7 +585,7 @@ class TestMasterRequestDomain(HttpFrontendTestCase, TestDataMixin):
class TestHandler(BaseHTTPRequestHandler):
def do_GET(self):
timeout = int(self.headers.dict.get('Timeout', '0'))
timeout = int(self.headers.dict.get('timeout', '0'))
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!