allow header in 405 answers
This commit is contained in:
parent
880a05229c
commit
7b6f5675af
|
@ -133,7 +133,7 @@
|
||||||
(cgi-make-response (run/port* doit) path req)))))
|
(cgi-make-response (run/port* doit) path req)))))
|
||||||
|
|
||||||
((string=? request-method "HEAD")
|
((string=? request-method "HEAD")
|
||||||
(make-error-response (status-code method-not-allowed) req (list "GET" "POST")))
|
(make-error-response (status-code method-not-allowed) req "GET, POST"))
|
||||||
|
|
||||||
(else
|
(else
|
||||||
(make-error-response (status-code not-implemented) req))))))
|
(make-error-response (status-code not-implemented) req))))))
|
||||||
|
|
Loading…
Reference in New Issue