Commit c73dd6ee authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend/test: Fix typo

parent 55171b94
......@@ -590,11 +590,11 @@ class TestHandler(BaseHTTPRequestHandler):
prefix = 'x-reply-header-'
lenght = len(prefix)
length = len(prefix)
for key, value in self.headers.dict.items():
if key.startswith(prefix):
'-'.join([q.capitalize() for q in key[lenght:].split('-')]),
'-'.join([q.capitalize() for q in key[length:].split('-')]),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment