Skip to content

Commit

Permalink
Stop slurping the field body streams when the Content-Type seems to b…
Browse files Browse the repository at this point in the history
…e octets.
  • Loading branch information
fukamachi committed Aug 11, 2019
1 parent d413b84 commit 3e4bedd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multipart.lisp
Expand Up @@ -39,7 +39,7 @@
(urlencoded-parse content-type nil body))
((starts-with "multipart/" content-type)
(multipart-parse content-type nil body))
(t (slurp-stream body)))))
(t body))))
(collect-field-meta (cons name field-meta))
(collect-headers (cons name headers)))))))
(if content-length
Expand Down

0 comments on commit 3e4bedd

Please sign in to comment.