Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Lib/http/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
'.Z': 'application/octet-stream',
'.bz2': 'application/x-bzip2',
'.xz': 'application/x-xz',
'.wasm': 'application/wasm',
}

def __init__(self, *args, directory=None, **kwargs):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added wasm MIME type to
:attr:`http.server.SimpleHTTPRequestHandler.extensions_map`.
Loading