- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for matchAtPolyfill (0.14 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
* * @throws IllegalArgumentException if this is not a well-formed media type. */ internal fun String.commonToMediaType(): MediaType { val typeSubtype: MatchResult = TYPE_SUBTYPE.matchAtPolyfill(this, 0) ?: throw IllegalArgumentException("No subtype found for: \"$this\"") val type = typeSubtype.groupValues[1].lowercase() val subtype = typeSubtype.groupValues[2].lowercase()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0)