From d7169bf66ead420ed6779c7f5d01dc6845810df6 Mon Sep 17 00:00:00 2001 From: daedsidog <41439659+daedsidog@users.noreply.github.com> Date: Fri, 12 Apr 2024 22:58:55 +0300 Subject: [PATCH] Add WebAssembly mime type --- mime-types.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mime-types.lisp b/mime-types.lisp index 5765358..d2f375a 100644 --- a/mime-types.lisp +++ b/mime-types.lisp @@ -28,7 +28,8 @@ (in-package :hunchentoot) -(defparameter *mime-type-list* '(("application/andrew-inset" "ez") +(defparameter *mime-type-list* '(("application/wasm" "wasm") + ("application/andrew-inset" "ez") ("application/cu-seeme" "cu") ("application/dsptype" "tsp") ("application/futuresplash" "spl") @@ -360,4 +361,4 @@ of file suffixes for the corresponding type.") "Given a pathname designator PATHSPEC returns the MIME type \(as a string) corresponding to the suffix of the file denoted by PATHSPEC \(or NIL)." - (gethash (pathname-type pathspec) *mime-type-hash*)) \ No newline at end of file + (gethash (pathname-type pathspec) *mime-type-hash*))