Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMultipleParameters (0.09 sec)

  1. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        val mediaType = parse("multipart/mixed; boundary=\"abcd\"")
        assertEquals("abcd", mediaType.parameter("boundary"))
        assertEquals("abcd", mediaType.parameter("BOUNDARY"))
      }
    
      @Test fun testMultipleParameters() {
        val mediaType = parse("Message/Partial; number=2; total=3; id=\"oc=******@****.***\"")
        assertEquals("2", mediaType.parameter("number"))
        assertEquals("3", mediaType.parameter("total"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top