mirror of
https://github.com/vale981/lack
synced 2025-03-05 09:21:39 -05:00
Make it compatible to the latest HTTP-Body.
This commit is contained in:
parent
481ca86e30
commit
c4a5637f6b
1 changed files with 2 additions and 2 deletions
|
@ -78,11 +78,11 @@
|
|||
(quri:url-decode-params query-string :lenient t))))
|
||||
|
||||
;; POST parameters
|
||||
(with-slots (body-parameters raw-body content-type) req
|
||||
(with-slots (body-parameters raw-body content-length content-type) req
|
||||
(when (and (null body-parameters)
|
||||
raw-body)
|
||||
(setf body-parameters
|
||||
(http-body:parse content-type raw-body))))
|
||||
(http-body:parse content-type content-length raw-body))))
|
||||
|
||||
req))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue