add text/event-stream

This commit is contained in:
Looly
2023-06-08 08:51:02 +08:00
parent 332fd5c346
commit 5cc1b492b7
2 changed files with 11 additions and 1 deletions

View File

@@ -43,7 +43,11 @@ public enum ContentType {
/**
* application/octet-stream编码
*/
OCTET_STREAM("application/octet-stream");
OCTET_STREAM("application/octet-stream"),
/**
* text/event-stream编码
*/
EVENT_STREAM("text/event-stream");
private final String value;