Commit 91543e42 authored by Denis Bilenko's avatar Denis Bilenko

core.http_request: make get_input_headers() lower case header names

parent 78e81430
......@@ -222,7 +222,9 @@ cdef class http_request:
while p:
key = p.key
value = p.value
result.append((key if key else None, value if value else None))
if key == NULL or value == NULL:
break
result.append((key.lower(), value))
p = TAILQ_GET_NEXT(p)
return result
......
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