svn: r4281
This commit is contained in:
Jay McCarthy 2006-09-08 20:38:40 +00:00
parent 075c7bb7a2
commit 1780c5886a
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@
(define (servlet-loading-responder url exn)
(make-response/full 500 "Servlet didn't load"
(current-seconds)
#"text/plain" ;TEXT/HTML-MIME-TYPE
#"text/plain; charset=utf-8" ;TEXT/HTML-MIME-TYPE
'() ; check
(list "Servlet didn't load.\n"
(exn->string exn))))

View File

@ -14,7 +14,7 @@
;; 2. Assuming that 7-bit ASCII is correct for mime-type
(define (make-get-mime-type a-path)
(let ([MIME-TYPE-TABLE (make-hash-table)]
[DEFAULT-MIME-TYPE #"text/plain"]
[DEFAULT-MIME-TYPE #"text/plain; charset=utf-8"]
[file-suffix-regexp (byte-regexp #".*\\.([^\\.]*$)")])
(with-input-from-file a-path
(lambda ()