Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fold common MIME types article into MIME types #34269

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12298,7 +12298,8 @@
/en-US/docs/Web/HTTP/Basic_access_authentication /en-US/docs/Web/HTTP/Authentication
/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs /en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs
/en-US/docs/Web/HTTP/Basics_of_HTTP/Introduction_to_www_and_non-www_URLs /en-US/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs
/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types /en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types /en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types /en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types
/en-US/docs/Web/HTTP/CORS/Errors/Reason:_CORS_header_‘Origin’_cannot_be_added /en-US/docs/Web/HTTP/CORS/Errors/CORSOriginHeaderNotAdded
/en-US/docs/Web/HTTP/Caching_FAQ /en-US/docs/Web/HTTP/Caching
/en-US/docs/Web/HTTP/Controlling_DNS_prefetching /en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control
Expand Down
42 changes: 0 additions & 42 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -98639,48 +98639,6 @@
"fscholz"
]
},
"Web/HTTP/Basics_of_HTTP/MIME_types/Common_types": {
"modified": "2020-05-01T18:32:40.232Z",
"contributors": [
"broofa",
"sideshowbarker",
"chrisdavidmills",
"charj",
"SphinxKnight",
"mathiasbynens",
"Dorward",
"igorskyflyer",
"rctgamer3",
"mfuji09",
"Coder-Arjun",
"joeyparrish",
"devex23",
"ignaloidas",
"aadityataparia",
"dunglas",
"gabriele.bernuzzi",
"evilpie",
"xiaopanke",
"Loadmaster",
"iamakidilam",
"snuggs",
"Sheppy",
"Thw0rted",
"Krenair",
"Vikaash",
"Naesten",
"dave.shaheen",
"alettieri",
"NaveenDA",
"AbsoluteZERO",
"BrienA",
"kyrylkov",
"choury",
"david_ross",
"fscholz",
"teoli"
]
},
"Web/HTTP/Basics_of_HTTP/Resource_URLs": {
"modified": "2019-03-23T22:04:02.489Z",
"contributors": ["ExE-Boss", "gmierz", "David_B", "chrisdavidmills"]
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/glossary/lossy_compression/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ page-type: glossary-definition

**Lossy compression**, or irreversible compression, is a data-compression method that uses inexact approximations and partial-data discarding to represent content. In simpler terms: lossy compression causes data from the initial file to be lost, possibly causing degradation in quality. The process of such compression is irreversible; once lossy compression of the content has been performed, the content cannot be restored to its original state. Therefore, content that has undergone lossy compression should generally not be further edited.

Lossy compression is widely used in image formats such as {{glossary("JPEG")}}, {{glossary("WebP")}}, and audio and video formats such as [MP3, MP4, H.264 and others](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).
Lossy compression is widely used in image formats such as {{glossary("JPEG")}}, {{glossary("WebP")}}, and audio and video formats such as [MP3, MP4, H.264 and others](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).
Compression methods such as {{glossary("WebP")}} are capable of [both lossy and lossless compression](https://developers.google.com/speed/webp/docs/compression) depending on the compression level or the options you want to use during encoding.

![Lossy compression image](2019-11-18.png)
Expand Down
1 change: 0 additions & 1 deletion files/en-us/glossary/mime_type/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ The name originates from the {{glossary("mime","MIME")}} standard originally use
- [List of MIME types](https://www.iana.org/assignments/media-types/media-types.xhtml)
- [Properly Configuring Server MIME Types](/en-US/docs/Learn/Server-side/Configuring_server_MIME_types)
- Details information about the usage of [MIME Types](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) in a Web context.
- [Incomplete list of MIME types](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types)
- [MediaRecorder.mimeType](/en-US/docs/Web/API/MediaRecorder/mimeType)
2 changes: 1 addition & 1 deletion files/en-us/web/api/datatransferitem/type/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ function dropHandler(ev) {
## See also

- {{domxref("DataTransfer.types()")}}
- [List of common MIME types](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types)
- [MIME types](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/showopenfilepicker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ showOpenFilePicker()
- `description` {{Optional_Inline}}
- : An optional description of the category of files types allowed. Defaults to an empty string.
- `accept`
- : An {{jsxref('Object')}} with the keys set to the [MIME type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) and the values an {{jsxref('Array')}} of file extensions (see below
- : An {{jsxref('Object')}} with the keys set to the [MIME type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) and the values an {{jsxref('Array')}} of file extensions (see below
for an example).

### Return value
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/showsavefilepicker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ showSaveFilePicker()
- : An optional description of the category of files
types allowed. Default to be an empty string.
- `accept`
- : An {{jsxref('Object')}} with the keys set to the [MIME type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) and the values an {{jsxref('Array')}} of file extensions (see below
- : An {{jsxref('Object')}} with the keys set to the [MIME type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) and the values an {{jsxref('Array')}} of file extensions (see below
for an example).

### Return value
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/http/basics_of_http/data_urls/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The `mediatype` is a [MIME type](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)

If the data contains [characters defined in RFC 3986 as reserved characters](https://datatracker.ietf.org/doc/html/rfc3986#section-2.2), or contains space characters, newline characters, or other non-printing characters, those characters must be {{Glossary("Percent-encoding", "percent-encoded")}}.

If the data is textual, you can embed the text (using the appropriate entities or escapes based on the enclosing document's type). Otherwise, you can specify `base64` to embed base64-encoded binary data. You can find more info on MIME types [here](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types) and [here](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types).
If the data is textual, you can embed the text (using the appropriate entities or escapes based on the enclosing document's type). Otherwise, you can specify `base64` to embed base64-encoded binary data. You can find more info on MIME types in the [MIME types reference](/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types).

A few examples:

Expand Down
Loading