From 615e1bb27aeed8fc0a7235c933488aab39247845 Mon Sep 17 00:00:00 2001 From: Looly Date: Thu, 8 Jun 2023 08:49:20 +0800 Subject: [PATCH] add content-type --- .../main/java/org/dromara/hutool/http/meta/ContentType.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hutool-http/src/main/java/org/dromara/hutool/http/meta/ContentType.java b/hutool-http/src/main/java/org/dromara/hutool/http/meta/ContentType.java index 3a84bf8bc..df111e593 100644 --- a/hutool-http/src/main/java/org/dromara/hutool/http/meta/ContentType.java +++ b/hutool-http/src/main/java/org/dromara/hutool/http/meta/ContentType.java @@ -55,7 +55,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;