Make MAKE-ERROR-RESPONSE work for "method not allowed" responses.

This commit is contained in:
sperber 2003-04-22 13:49:49 +00:00
parent f385c76f6a
commit baa9486488
1 changed files with 9 additions and 0 deletions

View File

@ -174,6 +174,15 @@
(send-message port)
(close-html port))))
((eq? code (status-code method-not-allowed))
(create-response
'()
(lambda (port options)
(generic-title port)
(write-string "<P>Method not allowed.\n" port)
(send-message port)
(close-html port))))
((eq? code (status-code unauthorized))
(create-response
(list (cons 'WWW-Authenticate message)) ; Vas is das?