Skip to content

Commit 3388bd6

Browse files
committed
types: Add WHATWG HTML Spec Types
Signed-off-by: Austin Ziegler <austin@zieglers.ca>
1 parent 1bf930a commit 3388bd6

File tree

4 files changed

+41
-4
lines changed

4 files changed

+41
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44

55
## NEXT / YYYY-MM-DD
66

7-
Manual contributions now require `Signed-off-by` trailers for assertion of the
8-
[Developer Certificate of Origin][dco]. More details will be added in the coming
9-
weeks.
7+
- Manual contributions now require `Signed-off-by` trailers for assertion of the
8+
[Developer Certificate of Origin][dco]. More details will be added in the
9+
coming weeks.
10+
11+
- Added `application/microdata+json`, `application/speculationrules+json`,
12+
`text/event-stream` and `text/ping` from the [WHATWG HTML spec][whatwg]
1013

1114
## 3.2025.0924 / 2025-09-24
1215

@@ -712,6 +715,7 @@ weeks.
712715
`text/plain`.
713716

714717
[code of conduct]: CODE_OF_CONDUCT.md
718+
[dco]: https://developercertificate.org
715719
[httpd]: https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
716720
[issue-18]: https://github.com/mime-types/mime-types-data/issues/18
717721
[issue-22]: https://github.com/mime-types/mime-types-data/issues/22
@@ -760,4 +764,4 @@ weeks.
760764
[ruby-mime-types#99]: https://github.com/mime-types/ruby-mime-types/pull/99
761765
[tika]: https://github.com/apache/tika/blob/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
762766
[tp]: https://guides.rubygems.org/trusted-publishing/
763-
[dco]: https://developercertificate.org
767+
[whatwg]: https://html.spec.whatwg.org/multipage/iana.html#text/event-stream

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ commit messages. The following types are permitted:
138138
| `chore` | A code change that is neither a bug fix nor a feature |
139139
| `docs` | Documentation updates |
140140
| `deps` | Dependency updates, including GitHub Actions. |
141+
| `types` | Manually contributed MIME::Types |
141142

142143
I encourage the use of [Tim Pope's][tpope-qcm] or [Chris Beam's][cbeams]
143144
guidelines on the writing of commit messages

types/application.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,6 +3419,14 @@
34193419
- application/MF4
34203420
registered: true
34213421
sort-priority: 16
3422+
- !ruby/object:MIME::Type
3423+
content-type: application/microdata+json
3424+
encoding: 8bit
3425+
xrefs:
3426+
url:
3427+
- https://html.spec.whatwg.org/multipage/iana.html#application/microdata+json
3428+
registered: false
3429+
sort-priority: 48
34223430
- !ruby/object:MIME::Type
34233431
content-type: application/mikey
34243432
encoding: base64
@@ -5712,6 +5720,14 @@
57125720
- application/spdx+json
57135721
registered: true
57145722
sort-priority: 16
5723+
- !ruby/object:MIME::Type
5724+
content-type: application/speculationrules+json
5725+
encoding: 8bit
5726+
xrefs:
5727+
url:
5728+
- https://html.spec.whatwg.org/multipage/iana.html#application/speculationrules+json
5729+
registered: false
5730+
sort-priority: 48
57155731
- !ruby/object:MIME::Type
57165732
content-type: application/spirits-event+xml
57175733
encoding: base64

types/text.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@
213213
- text/enriched
214214
registered: true
215215
sort-priority: 16
216+
- !ruby/object:MIME::Type
217+
content-type: text/event-stream
218+
encoding: 8bit
219+
xrefs:
220+
url:
221+
- https://html.spec.whatwg.org/multipage/iana.html#text/event-stream
222+
registered: false
223+
sort-priority: 48
216224
- !ruby/object:MIME::Type
217225
content-type: text/example
218226
encoding: quoted-printable
@@ -452,6 +460,14 @@
452460
- text/parityfec
453461
registered: true
454462
sort-priority: 16
463+
- !ruby/object:MIME::Type
464+
content-type: text/ping
465+
encoding: 8bit
466+
xrefs:
467+
url:
468+
- https://html.spec.whatwg.org/multipage/iana.html#text/ping
469+
registered: false
470+
sort-priority: 48
455471
- !ruby/object:MIME::Type
456472
content-type: text/plain
457473
friendly:

0 commit comments

Comments
 (0)