Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 88 for 401 (0.01 seconds)

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

       *
       * The network response's status code is most influential when deciding how to follow up:
       *
       *  * For redirects (301: Moved Permanently, 302: Temporary Redirect, etc.)
       *  * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.)
       *  * For client timeouts (408: Request Time-Out.)
       *  * For server failures (503: Service Unavailable.)
       *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        for (i in 0..29) {
          webServer.enqueue(
            MockResponse
              .Builder()
              .bodyDelay(100, TimeUnit.MILLISECONDS)
              .body("Wrong endpoint")
              .code(401)
              .build(),
          )
        }
        val request =
          Request
            .Builder()
            .url(webServer.url("/"))
            .build()
        val attempts = CountDownLatch(20)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/security/first-steps.md

    ///
    
    ## どのように動作するか
    
    リクエストの中に`Authorization`ヘッダーを探しに行き、その値が`Bearer`と何らかのトークンを含んでいるかどうかをチェックし、そのトークンを`str`として返します。
    
    もし`Authorization`ヘッダーが見つからなかったり、値が`Bearer`トークンを持っていなかったりすると、401 ステータスコードエラー (`UNAUTHORIZED`) で直接応答します。
    
    トークンが存在するかどうかをチェックしてエラーを返す必要はありません。関数が実行された場合、そのトークンに`str`が含まれているか確認できます。
    
    インタラクティブなドキュメントですでに試すことができます:
    
    <img src="/img/tutorial/security/image03.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  4. index.yaml

        maintainers:
        - email: ******@****.***
          name: MinIO, Inc
        name: minio
        sources:
        - https://github.com/minio/minio
        urls:
        - https://charts.min.io/helm-releases/minio-4.0.1.tgz
        version: 4.0.1
      - apiVersion: v1
        appVersion: RELEASE.2022-04-26T01-20-24Z
        created: "2025-01-02T21:34:25.095908528-08:00"
        description: Multi-Cloud Object Storage
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 03 05:34:47 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  5. tests/test_include_router_defaults_overrides.py

        callbacks=callback_router4.routes,
        deprecated=True,
    )
    router4_default = APIRouter()
    
    
    @app.get(
        "/override1",
        tags=["path1a", "path1b"],
        responses={
            401: {"description": "Client error level 1"},
            501: {"description": "Server error level 1"},
        },
        deprecated=True,
        callbacks=callback_router1.routes,
        dependencies=[Depends(dep1)],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Click Count (0)
  6. docs/changelogs/changelog_4x.md

     *  Fix: Don't use brackets formatting IPv6 host names in MockWebServer.
     *  Fix: Don't permit cache iterators to remove entries that are being written.
    
    
    ## Version 4.0.1
    
    _2019-07-10_
    
     *  Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it
        when you call `contains(null)` on them!
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  9. docs/recipes.md

            }
          }
        ```
    
    ### Handling authentication ([.kt][AuthenticateKotlin], [.java][AuthenticateJava])
    
    OkHttp can automatically retry unauthenticated requests. When a response is `401 Not Authorized`, an `Authenticator` is asked to supply credentials. Implementations should build a new request that includes the missing credentials. If no credentials are available, return null to skip the retry.
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }.also { expected ->
          assertThat(expected.errorCode).isEqualTo(errorCode)
        }
      }
    
      @Test
      fun recoverFromConnectionNoNewStreamsOnFollowUp() {
        server.enqueue(MockResponse(code = 401))
        server.enqueue(
          MockResponse
            .Builder()
            .onRequestStart(CloseStream(ErrorCode.INTERNAL_ERROR.httpCode))
            .build(),
        )
        server.enqueue(MockResponse(body = "DEF"))
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
Back to Top