allow header in 405 answers

This commit is contained in:
vibr 2004-08-11 14:53:11 +00:00
parent 880a05229c
commit 7b6f5675af
1 changed files with 1 additions and 1 deletions

View File

@ -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))))))