diff --git a/ktor-http/api/ktor-http.api b/ktor-http/api/ktor-http.api index d9ca92516ce..a53d27d351c 100644 --- a/ktor-http/api/ktor-http.api +++ b/ktor-http/api/ktor-http.api @@ -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; diff --git a/ktor-http/common/src/io/ktor/http/ContentTypes.kt b/ktor-http/common/src/io/ktor/http/ContentTypes.kt index feb9901baa4..c2444bc5c74 100644 --- a/ktor-http/common/src/io/ktor/http/ContentTypes.kt +++ b/ktor-http/common/src/io/ktor/http/ContentTypes.kt @@ -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") diff --git a/ktor-http/common/src/io/ktor/http/auth/AuthScheme.kt b/ktor-http/common/src/io/ktor/http/auth/AuthScheme.kt index a850008c340..475c206d04c 100644 --- a/ktor-http/common/src/io/ktor/http/auth/AuthScheme.kt +++ b/ktor-http/common/src/io/ktor/http/auth/AuthScheme.kt @@ -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"