Procházet zdrojové kódy

fix mime-type mappings

master
Brent Gordon před 4 roky
rodič
revize
6e9071af2b
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. +6
    -6
      bot.rkt

+ 6
- 6
bot.rkt Zobrazit soubor

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



Načítá se…
Zrušit
Uložit