Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for contain (0.27 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

     * All comments are ignored.
     *
     * Regular lines contain fields separated by semicolons.
     *
     * The first element on each line is a single hex code point (like 0041) or a hex code point range
     * (like 0030..0039).
     *
     * The second element on each line is a mapping type, like `valid` or `mapped`.
     *
     * For lines that contain a mapping target, the next thing is a sequence of hex code points (like
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/README.md

    contents of request and response bodies. This data should only be logged in a controlled way or in
    a non-production environment.
    
    You can redact headers that may contain sensitive information by calling `redactHeader()`.
    ```java
    logging.redactHeader("Authorization");
    logging.redactHeader("Cookie");
    ```
    
    Download
    --------
    
    ```kotlin
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        return exchange?.hasFailure == true &&
          exchangeFinder!!.routePlanner.hasNext(exchange?.connection)
      }
    
      /**
       * Returns a string that describes this call. Doesn't include a full URL as that might contain
       * sensitive information.
       */
      private fun toLoggableString(): String {
        return (
          (if (isCanceled()) "canceled " else "") +
            (if (forWebSocket) "web socket" else "call") +
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * lu/GJQZoU9lDrCPeUcQ28tzOWw==
         * -----END PRIVATE KEY-----
         * ```
         *
         * The string should contain exactly one certificate and one private key in [PKCS #8][rfc_5208]
         * format. It should not contain any other PEM-encoded blocks, but it may contain other text
         * which will be ignored.
         *
         * Encode a held certificate into this format by concatenating the results of
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          return false
        }
    
        // Normalize hostname and pattern by turning them into absolute domain names if they are not
        // yet absolute. This is needed because server certificates do not normally contain absolute
        // names or patterns, but they should be treated as absolute. At the same time, any hostname
        // presented to this method should also be treated as absolute for the purposes of matching
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

          if (first) {
            firstIsRandalcat = codePoint in randalcatSet
          } else if (firstIsRandalcat) {
            // 'If a string contains any RandALCat character, the string MUST NOT contain any LCat
            // character.'
            if (codePoint in lcatSet) return null
    
            // 'If a string contains any RandALCat character, a RandALCat character MUST be the last
            // character of the string.'
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RequestLine.kt

            append(request.url)
          } else {
            append(requestPath(request.url))
          }
          append(" HTTP/1.1")
        }
    
      /**
       * Returns true if the request line should contain the full URL with host and port (like "GET
       * http://android.com/foo HTTP/1.1") or only the path (like "GET /foo HTTP/1.1").
       */
      private fun includeAuthorityInRequestLine(
        request: Request,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       * non-null, it should be reported to the user should all further attempts fail.
       *
       * The two values are independent: results can contain both (recoverable error), neither
       * (success), just an exception (permanent failure), or just a plan (non-exceptional retry).
       */
      data class ConnectResult(
        val plan: Plan,
        val nextPlan: Plan? = null,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         */
        fun clearHeaders() =
          apply {
            headers = Headers.Builder()
          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        fun addHeader(header: String) =
          apply {
            headers.add(header)
          }
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  10. docs/features/calls.md

    ## [Requests](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-request/)
    
    Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type.
    
    ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
Back to top