Make downcased strings in headers.

This commit is contained in:
Eitaro Fukamachi 2018-09-19 23:29:08 +09:00
parent 7bae407558
commit a6962b1fb6

View file

@ -77,7 +77,7 @@
(length content))
:headers (loop with hash = (make-hash-table :test 'equal)
for (k . v) in headers
do (setf (gethash k hash) v)
do (setf (gethash (string-downcase k) hash) v)
finally (return hash))
:raw-body (and content
(flex:make-in-memory-input-stream content)))))