Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 125 for 401 (0.01 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .Builder()
            .code(401)
            .addHeader("Connection", "close")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        val authenticator = RecordingOkAuthenticator(null, null)
        client =
          client
            .newBuilder()
            .authenticator(authenticator)
            .build()
        executeSynchronously("/")
          .assertCode(401)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/llm/LlmException.java

    Shinsuke Sugaya <******@****.***> 1772848386 +0900
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        level = DeprecationLevel.ERROR,
      )
      fun priorResponse(): Response? = priorResponse
    
      /**
       * Returns the RFC 7235 authorization challenges appropriate for this response's code. If the
       * response code is 401 unauthorized, this returns the "WWW-Authenticate" challenges. If the
       * response code is 407 proxy unauthorized, this returns the "Proxy-Authenticate" challenges.
       * Otherwise this returns an empty list of challenges.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            try {
                WebApiUtil.setError(200, "OK");
                WebApiUtil.setError(201, "Created");
                WebApiUtil.setError(400, "Bad Request");
                WebApiUtil.setError(401, "Unauthorized");
                WebApiUtil.setError(403, "Forbidden");
                WebApiUtil.setError(404, "Not Found");
                WebApiUtil.setError(500, "Internal Server Error");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. internal/s3select/unused-errors.go

    		cause:      err,
    	}
    }
    
    func errUnauthorizedAccess(err error) *s3Error {
    	return &s3Error{
    		code:       "UnauthorizedAccess",
    		message:    "You are not authorized to perform this operation",
    		statusCode: 401,
    		cause:      err,
    	}
    }
    
    func errEmptyRequestBody(err error) *s3Error {
    	return &s3Error{
    		code:       "EmptyRequestBody",
    		message:    "Request body cannot be empty.",
    		statusCode: 400,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                }
                if (status) {
                    return new ActionResponseCredential(() -> {
                        throw new RequestLoggingFilter.RequestClientErrorException("Your request is not authorized.", "401 Unauthorized",
                                HttpServletResponse.SC_UNAUTHORIZED);
                    });
                }
    
                // assert
                if (null == principal) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  7. docs/ja/docs/tutorial/security/first-steps.md

    ///
    
    ## 何をするか { #what-it-does }
    
    リクエストの中に`Authorization`ヘッダーを探しに行き、その値が`Bearer `と何らかのトークンを含んでいるかどうかをチェックし、そのトークンを`str`として返します。
    
    もし`Authorization`ヘッダーが見つからなかったり、値が`Bearer `トークンを持っていなかったりすると、401 ステータスコードエラー (`UNAUTHORIZED`) で直接応答します。
    
    トークンが存在するかどうかをチェックしてエラーを返す必要はありません。関数が実行された場合、そのトークンに`str`が含まれていることを確信できます。
    
    インタラクティブなドキュメントですでに試すことができます:
    
    <img src="/img/tutorial/security/image03.png">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

            )
    
            overrideBadImplementation(override = override.override, testItFails = testItFails)
          }
    
          OverrideParam.Authenticator -> {
            server.enqueue(
              MockResponse.Builder().code(401).build(),
            )
    
            overrideBadImplementation(override = override.override, testItFails = testItFails)
          }
    
          OverrideParam.RetryOnConnectionFailure -> {
            enableTls()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  9. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. 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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top