Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for authenticateRequest (0.13 sec)

  1. cmd/auth-handler.go

    	logger.GetReqInfo(ctx).ObjectName = objectName
    	logger.GetReqInfo(ctx).VersionID = versionID
    
    	_, _, s3Err = checkRequestAuthTypeCredential(ctx, r, action)
    	return s3Err
    }
    
    func authenticateRequest(ctx context.Context, r *http.Request, action policy.Action) (s3Err APIErrorCode) {
    	if logger.GetReqInfo(ctx) == nil {
    		bugLogIf(ctx, errors.New("unexpected context.Context does not have a logger.ReqInfo"), logger.ErrorKind)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

            .receivedResponseAtMillis(-1L)
            .header("Proxy-Authenticate", "OkHttp-Preemptive")
            .build()
    
        val authenticatedRequest =
          route.address.proxyAuthenticator
            .authenticate(route, fakeAuthChallengeResponse)
    
        return authenticatedRequest ?: proxyConnectRequest
      }
    
      override fun hasNext(failedConnection: RealConnection?): Boolean {
        if (deferredPlans.isNotEmpty()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top