Title: `mimetypes.py` uses deprecated "application/javascript" · Issue #97646 · python/cpython · GitHub
Open Graph Title: `mimetypes.py` uses deprecated "application/javascript" · Issue #97646 · python/cpython
X Title: `mimetypes.py` uses deprecated "application/javascript" · Issue #97646 · python/cpython
Description: The _types_map_default values for JavaScript use the deprecated "application/javascript" value. RFC 9239 as well as http://www.iana.org/assignments/media-types (which is referenced in mimetypes.py) both say that type/subtype name is obso...
Open Graph Description: The _types_map_default values for JavaScript use the deprecated "application/javascript" value. RFC 9239 as well as http://www.iana.org/assignments/media-types (which is referenced in mimetypes.py)...
X Description: The _types_map_default values for JavaScript use the deprecated "application/javascript" value. RFC 9239 as well as http://www.iana.org/assignments/media-types (which is referenced in mim...
Opengraph URL: https://github.com/python/cpython/issues/97646
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`mimetypes.py` uses deprecated \"application/javascript\"","articleBody":"The [_types_map_default values for JavaScript](https://github.com/python/cpython/blob/4652093e1b816b78e9a585d671a807ce66427417/Lib/mimetypes.py#L430) use the deprecated \"application/javascript\" value. [RFC 9239](https://www.rfc-editor.org/rfc/rfc9239.html#name-common-javascript-media-typ) as well as http://www.iana.org/assignments/media-types (which is [referenced in mimetypes.py](https://github.com/python/cpython/blob/main/Lib/mimetypes.py#L423)) both say that type/subtype name is obsolete and should be replaced with \"text/javascript\".","author":{"url":"https://github.com/ppena-LiveData","@type":"Person","name":"ppena-LiveData"},"datePublished":"2022-09-29T14:26:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/97646/cpython/issues/97646"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6abf1795-d468-0eb8-205e-ea15304c6541 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EEE:2D0DCE:FB25D4:14F9201:69699146 |
| html-safe-nonce | 0dca73e9ffe3955bde9f7ef77bfef3623ba33a4f97b851fcca5eee61204dcedb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUVFOjJEMERDRTpGQjI1RDQ6MTRGOTIwMTo2OTY5OTE0NiIsInZpc2l0b3JfaWQiOiI0NzEyODc4NTE2Mjk2MzIzMzk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ff47fb6bd838496a307ca84e370b8d4f3220a4cad5f9cd8986f3289cde6ce16d |
| hovercard-subject-tag | issue:1390972096 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/97646/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2a83c1049f6cd3bba5039909425307ac0650cfd1f17a6605198ebc53e5d0c738/python/cpython/issues/97646 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2a83c1049f6cd3bba5039909425307ac0650cfd1f17a6605198ebc53e5d0c738/python/cpython/issues/97646 |
| og:image:alt | The _types_map_default values for JavaScript use the deprecated "application/javascript" value. RFC 9239 as well as http://www.iana.org/assignments/media-types (which is referenced in mimetypes.py)... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ppena-LiveData |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width