Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for sommes (0.16 sec)

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

      private fun testConnectViaProxy(proxyConfig: ProxyConfig) {
        server.enqueue(
          MockResponse(body = "this response comes via a proxy"),
        )
        val url = "http://android.com/foo".toHttpUrl()
        val response = proxyConfig.connect(server, client, url).execute()
        assertContent("this response comes via a proxy", response)
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Headers.kt

     * the same line will be treated as a field with a single value by this class. It is the caller's
     * responsibility to detect and split on commas if their field permits multiple values. This
     * simplifies use of single-valued fields whose values routinely contain commas, such as cookies or
     * dates.
     *
     * This class trims whitespace from values. It never returns values with leading or trailing
     * whitespace.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

          if (!skipCommasAndWhitespace() && !exhausted()) return // Expected ',' or EOF.
        }
        result.add(Challenge(schemeName, parameters))
      }
    }
    
    /** Returns true if any commas were skipped. */
    private fun Buffer.skipCommasAndWhitespace(): Boolean {
      var commaFound = false
      loop@ while (!exhausted()) {
        when (this[0]) {
          ','.code.toByte() -> {
            // Consume ','.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      private fun writeOrCountBytes(
        sink: BufferedSink?,
        countBytes: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method do
       * double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
      @Throws(IOException::class)
      private fun writeOrCountBytes(
    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)
  6. docs/changelogs/changelog_2x.md

        depends on JUnit, though it continues to work with all testing frameworks.
     *  Fix: `FormEncodingBuilder` is now consistent with browsers in which
        characters it escapes. Previously we weren’t percent-encoding commas,
        parens, and other characters.
     *  Fix: Relax `FormEncodingBuilder` to support building empty forms.
     *  Fix: Timeouts throw `SocketTimeoutException`, not `InterruptedIOException`.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/EventListener.kt

        call: Call,
        url: HttpUrl,
      ) {
      }
    
      /**
       * Invoked after proxy selection.
       *
       * Note that the list of proxies is never null, but it may be a list containing
       * only [Proxy.NO_PROXY]. This comes up in several situations:
       *
       * * If neither a proxy nor proxy selector is configured.
       * * If the proxy is configured explicitly as [Proxy.NO_PROXY].
       * * If the proxy selector returns only [Proxy.NO_PROXY].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    Contributing
    ============
    
    Keeping the project small and stable limits our ability to accept new contributors. We are not
    seeking new committers at this time, but some small contributions are welcome.
    
    If you've found a security problem, please follow our [bug bounty][security] program.
    
    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. docs/contribute/contributing.md

    Contributing
    ============
    
    Keeping the project small and stable limits our ability to accept new contributors. We are not
    seeking new committers at this time, but some small contributions are welcome.
    
    If you've found a security problem, please follow our [bug bounty][security] program.
    
    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (1)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

          val inetAddress = socket.localAddress
    
          var hostname = inetAddress.hostName
          if (inetAddress is Inet6Address && hostname.contains(':')) {
            // hostname is likely some form representing the IPv6 bytes
            // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
            // 2001:db8:85a3::8a2e:370:7334
            // ::1
            hostname = "[$hostname]"
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (2)
Back to top