Skip to content

Commit

Permalink
Add soap+xml content type (#4060)
Browse files Browse the repository at this point in the history
* Add soap+xml content type

* Fix codestyle and apiDump
  • Loading branch information
hfhbd committed May 31, 2024
1 parent b8e92b2 commit 1eeb7c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ktor-http/api/ktor-http.api
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public final class io/ktor/http/ContentType$Application {
public final fun getProblemXml ()Lio/ktor/http/ContentType;
public final fun getProtoBuf ()Lio/ktor/http/ContentType;
public final fun getRss ()Lio/ktor/http/ContentType;
public final fun getSoap ()Lio/ktor/http/ContentType;
public final fun getWasm ()Lio/ktor/http/ContentType;
public final fun getXlsx ()Lio/ktor/http/ContentType;
public final fun getXml ()Lio/ktor/http/ContentType;
Expand Down
1 change: 1 addition & 0 deletions ktor-http/common/src/io/ktor/http/ContentTypes.kt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public class ContentType private constructor(
public val JavaScript: ContentType = ContentType("application", "javascript")
public val OctetStream: ContentType = ContentType("application", "octet-stream")
public val Rss: ContentType = ContentType("application", "rss+xml")
public val Soap: ContentType = ContentType("application", "soap+xml")
public val Xml: ContentType = ContentType("application", "xml")
public val Xml_Dtd: ContentType = ContentType("application", "xml-dtd")
public val Zip: ContentType = ContentType("application", "zip")
Expand Down
2 changes: 1 addition & 1 deletion ktor-http/common/src/io/ktor/http/auth/AuthScheme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public object AuthScheme {
/**
* Bearer Authentication described in the RFC-6749 & RFC6750:
*
* see https://tools.ietf.org/html/rfc6749
* see https://tools.ietf.org/html/rfc6749
* & https://tools.ietf.org/html/rfc6750
*/
public const val Bearer: String = "Bearer"
Expand Down

0 comments on commit 1eeb7c1

Please sign in to comment.