You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/08/21 08:58:49 UTC
[httpcomponents-core] branch 4.4.x updated: Add SOAP xml content
type (#142, back-ported from master)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch 4.4.x
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
The following commit(s) were added to refs/heads/4.4.x by this push:
new 1cd1a6e Add SOAP xml content type (#142, back-ported from master)
1cd1a6e is described below
commit 1cd1a6e801ffc88ecd2cea05bcb6feabe461b2a3
Author: Raihaan Shouhell <ra...@gmail.com>
AuthorDate: Wed Aug 21 16:26:20 2019 +0800
Add SOAP xml content type (#142, back-ported from master)
---
httpcore/src/main/java/org/apache/http/entity/ContentType.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/httpcore/src/main/java/org/apache/http/entity/ContentType.java b/httpcore/src/main/java/org/apache/http/entity/ContentType.java
index be2b43c..4736d83 100644
--- a/httpcore/src/main/java/org/apache/http/entity/ContentType.java
+++ b/httpcore/src/main/java/org/apache/http/entity/ContentType.java
@@ -77,6 +77,8 @@ public final class ContentType implements Serializable {
"application/json", Consts.UTF_8);
public static final ContentType APPLICATION_OCTET_STREAM = create(
"application/octet-stream", (Charset) null);
+ public static final ContentType APPLICATION_SOAP_XML = create(
+ "application/soap+xml", Consts.UTF_8);
public static final ContentType APPLICATION_SVG_XML = create(
"application/svg+xml", Consts.ISO_8859_1);
public static final ContentType APPLICATION_XHTML_XML = create(