fix post content-type check
* tekuti/request.scm (request-form-data): Fix content-type check.
This commit is contained in:
parent
473bd070ae
commit
c2d3231e24
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
||||||
'()
|
'()
|
||||||
(let ((content-type (request-content-type request)))
|
(let ((content-type (request-content-type request)))
|
||||||
(cond
|
(cond
|
||||||
((equal? content-type '("application" "x-www-form-urlencoded"))
|
((equal? content-type '("application/x-www-form-urlencoded"))
|
||||||
(parse-www-form-urlencoded body))
|
(parse-www-form-urlencoded body))
|
||||||
(else
|
(else
|
||||||
(error "bad content-type" content-type))))))
|
(error "bad content-type" content-type))))))
|
||||||
|
|
Loading…
Reference in a new issue