mirror of
https://github.com/vale981/lack
synced 2025-03-05 09:21:39 -05:00
Make downcased strings in headers.
This commit is contained in:
parent
7bae407558
commit
a6962b1fb6
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@
|
||||||
(length content))
|
(length content))
|
||||||
:headers (loop with hash = (make-hash-table :test 'equal)
|
:headers (loop with hash = (make-hash-table :test 'equal)
|
||||||
for (k . v) in headers
|
for (k . v) in headers
|
||||||
do (setf (gethash k hash) v)
|
do (setf (gethash (string-downcase k) hash) v)
|
||||||
finally (return hash))
|
finally (return hash))
|
||||||
:raw-body (and content
|
:raw-body (and content
|
||||||
(flex:make-in-memory-input-stream content)))))
|
(flex:make-in-memory-input-stream content)))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue