Skip to content

Commit

Permalink
Rename SXG file suffix and remove legacy media types
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed Oct 17, 2023
1 parent 294bc67 commit fbd1af3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Proteus Changelog.
## Unreleased
### No issue

**Added SXG mime types.**


[294bc67bdd31e1e](https://github.com/noboomu/proteus/commit/294bc67bdd31e1e) Joshua Bauer *2023-10-17 19:53:47*

**Make controller compilation synchronous.**


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public class MediaType {
"SETPAY");
public static final MediaType APPLICATION_SET_REGISTRATION_INITIATION = create(
"APPLICATION/SET-REGISTRATION-INITIATION", "SETREG");
public static final MediaType APPLICATION_SHF_XML = create("application/signed-exchange;v=b3", "sxgs");
public static final MediaType APPLICATION_SHF_XML = create("application/signed-exchange;v=b3", "sxg");
public static final MediaType APPLICATION_SIGNED_EXCHANGE = create("application/shf+xml", "shf");
public static final MediaType APPLICATION_SLA = create("application/sla", "stl");
public static final MediaType APPLICATION_SMIL = create("application/smil", "smi", "smil");
Expand Down Expand Up @@ -605,8 +605,6 @@ public class MediaType {
public static final MediaType APPLICATION_VND_SUN_XML_IMPRESS_TEMPLATE = create(
"APPLICATION/VND.SUN.XML.IMPRESS.TEMPLATE", "STI");
public static final MediaType APPLICATION_VND_SUN_XML_MATH = create("application/vnd.sun.xml.math", "sxm");
public static final MediaType APPLICATION_VND_SUN_XML_WRITER_GLOBAL = create(
"application/vnd.sun.xml.writer.global", "SXG");
public static final MediaType APPLICATION_VND_SUN_XML_WRITER = create("application/vnd.sun.xml.writer", "sxw");
public static final MediaType APPLICATION_VND_SUN_XML_WRITER_TEMPLATE = create(
"APPLICATION/VND.SUN.XML.WRITER.TEMPLATE", "STW");
Expand Down

0 comments on commit fbd1af3

Please sign in to comment.