Skip to content

Commit

Permalink
Merge pull request #64 from snmsts/fix-content-type
Browse files Browse the repository at this point in the history
fix a problem content-type via header seems not working.
  • Loading branch information
fukamachi committed Jan 24, 2019
2 parents aad2389 + 5846a2a commit 031ee99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/usocket.lisp
Expand Up @@ -534,7 +534,7 @@
(let* ((uri (quri:uri uri))
(proxy (when (http-proxy-p proxy-uri) proxy))
(content-type
(find :content-type headers :key #'car :test #'eq))
(cdr (find :content-type headers :key #'car :test #'eq)))
(multipart-p (and (not content-type)
(consp content)
(find-if #'pathnamep content :key #'cdr)))
Expand Down

0 comments on commit 031ee99

Please sign in to comment.