add content-type

This commit is contained in:
Looly 2023-06-08 08:49:20 +08:00
parent 0909188783
commit 615e1bb27a

View File

@ -55,7 +55,11 @@ public enum ContentType {
/** /**
* application/octet-stream编码 * 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; private final String value;