8000 bpo-37305: add MIME type for Web App Manifest (GH-14199) (#15946) · python/cpython@35d0934 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 35d0934

Browse files
miss-islingtonfilips123
authored andcommitted
bpo-37305: add MIME type for Web App Manifest (GH-14199) (#15946)
* bpo-37305: add MIME type for Web App Manifest Co-authored-by: Filip Š <filip.stamcar@hotmail.com>
1 parent cbd7b2a commit 35d0934

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ def _default_mime_types():
415415
'.js' : 'application/javascript',
416416
'.mjs' : 'application/javascript',
417417
'.json' : 'application/json',
418+
'.webmanifest': 'application/manifest+json',
418419
'.doc' : 'application/msword',
419420
'.dot' : 'application/msword',
420421
'.wiz' : 'application/msword',
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add .webmanifest -> application/manifest+json to list of recognized file types
2+
and content type headers

0 commit comments

Comments
 (0)
0