bpo-40280: WASM docs and smaller browser builds (GH-32412)

Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
Christian Heimes 2022-04-10 10:29:51 +03:00 committed by GitHub
parent dc14e33eff
commit defbbd68f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 231 additions and 54 deletions

View file

@ -14,6 +14,13 @@ parser.add_argument(
class MyHTTPRequestHandler(server.SimpleHTTPRequestHandler):
extensions_map = server.SimpleHTTPRequestHandler.extensions_map.copy()
extensions_map.update(
{
".wasm": "application/wasm",
}
)
def end_headers(self):
self.send_my_headers()
super().end_headers()