mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 10:18:40 +00:00
Correct media subtype example
This commit is contained in:
1 parent
53cd9dea61
commit
aade5a09ed
1 file changed
+1
-1
@@ -78,7 +78,7 @@ MediaType.MainType
|
|||||||
: The main type of the resource's MIME type. For example, a file of MIME type `application/pdf` has for MainType `application`.
|
: The main type of the resource's MIME type. For example, a file of MIME type `application/pdf` has for MainType `application`.
|
||||||
|
|
||||||
MediaType.SubType
|
MediaType.SubType
|
||||||
: The subtype of the resource's MIME type. For example, a file of MIME type `application/pdf` has for SubType `pdf`. Note that this is not the same as the file extension - PowerPoint files have a subtype of `vnd.mspowerpoint`.
|
: The subtype of the resource's MIME type. For example, a file of MIME type `application/pdf` has for SubType `pdf`. Note that this is not the same as the file extension. For example, Microsoft PowerPoint files (`.ppt`) have a subtype of `vnd.ms-powerpoint`.
|
||||||
|
|
||||||
MediaType.Suffixes
|
MediaType.Suffixes
|
||||||
: A slice of possible suffixes for the resource's MIME type.
|
: A slice of possible suffixes for the resource's MIME type.
|
||||||
|
|||||||
Reference in new issue
Block a user