Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for mixed (0.13 sec)

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

            .addPart("Hello, World!".toRequestBody(null))
            .build()
        assertThat(body.boundary).isEqualTo("123")
        assertThat(body.type).isEqualTo(MultipartBody.MIXED)
        assertThat(body.contentType().toString())
          .isEqualTo("multipart/mixed; boundary=123")
        assertThat(body.parts.size).isEqualTo(1)
        assertThat(body.contentLength()).isEqualTo(33L)
        val buffer = Buffer()
        body.writeTo(buffer)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          }
        }
    
      companion object {
        /**
         * The "mixed" subtype of "multipart" is intended for use when the body parts are independent
         * and need to be bundled in a particular order. Any "multipart" subtypes that an implementation
         * does not recognize must be treated as being of subtype "mixed".
         */
        @JvmField
        val MIXED = "multipart/mixed".toMediaType()
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("plain", mediaType.subtype)
        assertNull(mediaType.charsetName())
        assertEquals("text/plain;", mediaType.toString())
      }
    
      @Test fun testParameter() {
        val mediaType = parse("multipart/mixed; boundary=\"abcd\"")
        assertEquals("abcd", mediaType.parameter("boundary"))
        assertEquals("abcd", mediaType.parameter("BOUNDARY"))
      }
    
      @Test fun testMultipleParameters() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  4. gradlew

    # For Cygwin or MSYS, switch paths to Windows format before running java
    if "$cygwin" || "$msys" ; then
        APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
        CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
    
        JAVACMD=$( cygpath --unix "$JAVACMD" )
    
        # Now convert the arguments - kludge to limit ourselves to /bin/sh
        for arg do
            if
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/BaseEncoding.java

       *     lower-case characters
       */
      public abstract BaseEncoding lowerCase();
    
      /**
       * Returns an encoding that behaves equivalently to this encoding, but decodes letters without
       * regard to case.
       *
       * @throws IllegalStateException if the alphabet used by this encoding contains mixed upper- and
       *     lower-case characters
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-toascii.json

        "input": "xn--tešla",
        "output": null
      },
      {
        "comment": "Valid Punycode",
        "input": "xn--zca.xn--zca",
        "output": "xn--zca.xn--zca"
      },
      {
        "comment": "Mixed",
        "input": "xn--zca.ß",
        "output": "xn--zca.xn--zca"
      },
      {
        "input": "ab--c.xn--zca",
        "output": "ab--c.xn--zca"
      },
      {
        "input": "ab--c.ß",
        "output": "ab--c.xn--zca"
      },
    Json
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  7. cmd/endpoint_test.go

    		{[]string{"d1", "http://localhost/d2", "d3", "d4"}, fmt.Errorf("mixed style endpoints are not supported")},
    		{[]string{"http://example.org/d1", "https://example.com/d1", "http://example.net/d1", "https://example.edut/d1"}, fmt.Errorf("mixed scheme is not supported")},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

              }
    
              connectionUser.dnsEnd(socketHost, result)
              result
            }
    
          // Try each address for best behavior in mixed IPv4/IPv6 environments.
          val orderedAddresses =
            when {
              fastFallback -> reorderForHappyEyeballs(addresses)
              else -> addresses
            }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

      @Test fun publicSuffixDotOrgTestCases() {
        // Any copyright is dedicated to the Public Domain.
        // https://creativecommons.org/publicdomain/zero/1.0/
    
        // Mixed case.
        checkPublicSuffix("COM", null)
        checkPublicSuffix("example.COM", "example.com")
        checkPublicSuffix("WwW.example.COM", "example.com")
        // Leading dot.
        checkPublicSuffix(".com", null)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. .github/CODEOWNERS

    ##
    
    # bt-unassigned-maintainers must be the first owner
    # All directories that are not explicitly listed below are considered
    # unassigned. This means that the ownership may be unknown, lost or
    # mixed across several groups.
    * @gradle/bt-unassigned-maintainers
    
    # Build infrastructure
    .teamcity/                                  @gradle/bt-developer-productivity
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 15:52:09 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top