Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for authorization (0.19 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

       * followed by a newline character `\n`.
       *
       * Since OkHttp 5 this redacts these sensitive headers:
       *
       *  * `Authorization`
       *  * `Cookie`
       *  * `Proxy-Authorization`
       *  * `Set-Cookie`
       */
      override fun toString(): String = commonToString()
    
      fun toMultimap(): Map<String, List<String>> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * connection is typically faster than establishing a new one.
     *
     * When a single logical call requires multiple streams due to redirects or authorization
     * challenges, we prefer to use the same physical connection for all streams in the sequence. There
     * are potential performance and behavior consequences to this preference. To support this feature,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

          }
    
        val file = File("docs/images/logo-square.png")
        val requestBody: RequestBody = file.asRequestBody(MEDIA_TYPE_PNG)
    
        val request =
          Request
            .Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
            .url("https://api.imgur.com/3/image")
            .post(ProgressRequestBody(requestBody, progressListener))
            .build()
    
        client.newCall(request).execute().use { response ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          if (request.url().host().equals(host)) {
            request = request.newBuilder()
                .header("Authorization", credentials)
                .build();
          }
          return chain.proceed(request);
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_2x.md

        `\0` would cause a late crash when building the request.
     *  Fix: Allow interceptors to change the request method.
     *  Fix: Don’t use the request's `User-Agent` or `Proxy-Authorization` when
        connecting to an HTTPS server via an HTTP tunnel. The `Proxy-Authorization`
        header was being leaked to the origin server.
     *  Fix: Digits may be used in a URL scheme.
     *  Fix: Improve connection timeout recovery.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

     *
     *  * [TCP handshake][connectSocket]
     *  * Optional [CONNECT tunnels][connectTunnel]. When using an HTTP proxy to reach an HTTPS server
     *    we must send a `CONNECT` request, and handle authorization challenges from the proxy.
     *  * Optional [TLS handshake][connectTls].
     *
     * Each step may fail. If a retry is possible, a new instance is created with the next plan, which
     * will be configured differently.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

      public static final String ACCESS_CONTROL_REQUEST_METHOD = "Access-Control-Request-Method";
    
      /** The HTTP {@code Authorization} header field name. */
      public static final String AUTHORIZATION = "Authorization";
    
      /** The HTTP {@code Connection} header field name. */
      public static final String CONNECTION = "Connection";
    
      /** The HTTP {@code Cookie} header field name. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.slack;
    
    /** Authorization for an application to make Slack API calls on behalf of a user. */
    @SuppressWarnings("checkstyle:membername")
    public final class OAuthSession {
      public final boolean ok;
      public final String access_token;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * non-null. The body of the returned response should not be read.
       */
      @get:JvmName("cacheResponse") val cacheResponse: Response?,
      /**
       * Returns the response for the HTTP redirect or authorization challenge that triggered this
       * response, or null if this response wasn't triggered by an automatic retry. The body of the
       * returned response should not be read because it has already been consumed by the redirecting
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("accept-language", ""),
          Header("accept-ranges", ""),
          Header("accept", ""),
          Header("access-control-allow-origin", ""),
          Header("age", ""),
          Header("allow", ""),
          Header("authorization", ""),
          Header("cache-control", ""),
          Header("content-disposition", ""),
          Header("content-encoding", ""),
          Header("content-language", ""),
          Header("content-length", ""),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top