mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
http-send-file default mime type should be application/octet-stream
This commit is contained in:
parent
566d9a47cf
commit
4d0ae090b7
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@
|
|||
(cond
|
||||
((mime-type-from-extension (path-extension path))
|
||||
=> (lambda (type) `((Content-Type . ,type))))
|
||||
(else '()))))
|
||||
(else '((Content-Type . "application/octet-stream"))))))
|
||||
(servlet-respond request 200 "OK" headers)
|
||||
(send-file path (request-out request))))
|
||||
(else
|
||||
|
|
Loading…
Add table
Reference in a new issue