Commit a6aaf49d authored by Denis Bilenko's avatar Denis Bilenko

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

--HG--
extra : transplant_source : V%1F%3F%E8%12%A6C%7DS%26%D8%92%13%1FL%02%26%EB%8D%C5
parent b300d39c
......@@ -220,7 +220,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