瀏覽代碼

fix mime-type mappings

master
Brent Gordon 4 年之前
父節點
當前提交
6e9071af2b
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      bot.rkt

+ 6
- 6
bot.rkt 查看文件

@@ -15,12 +15,12 @@
(define boundary-line (string-append "--" boundary CRLF))
; a table to map file extensions to MIME types:
(define ext=>mime-type
#hash((#"jpg" . #"image/jpeg")
(#"png" . #"image/png")
(#"gif" . #"image/Gif")
(#"swf" . #"application/x-shockwave-flash")
(#"mp4" . #"video/mp4")
(#"webm" . #"video/webm")))
#hash(("jpg" . #"image/jpeg")
("png" . #"image/png")
("gif" . #"image/Gif")
("swf" . #"application/x-shockwave-flash")
("mp4" . #"video/mp4")
("webm" . #"video/webm")))



Loading…
取消
儲存