Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for httpStatusCode (0.41 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                override fun onRedirectReceived(
                  request: UrlRequest,
                  info: UrlResponseInfo,
                  newLocationUrl: String,
                ) {
                  println("request " + info.httpStatusCode + " " + newLocationUrl)
                  request.followRedirect()
                }
    
                override fun onResponseStarted(
                  request: UrlRequest,
                  info: UrlResponseInfo,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    			Code:           "InvalidArgument",
    			Description:    "Unsupported batch expire API version",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if r.Bucket == "" {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Bucket argument missing",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	if _, err := o.GetBucketInfo(ctx, r.Bucket, BucketOptions{}); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Apr 22 11:16:32 UTC 2025
    - 23K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    	}
    	if rc, _ := getReplicationConfig(ctx, bucket); rc != nil && v.Suspended() {
    		writeErrorResponse(ctx, w, APIError{
    			Code:           "InvalidBucketState",
    			Description:    "A replication configuration is present on this bucket, bucket wide versioning cannot be suspended.",
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    		return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

                builder.field(PARENT_URL, parentUrl);
            }
            if (status != null) {
                builder.field(STATUS, status);
            }
            if (httpStatusCode != null) {
                builder.field(HTTP_STATUS_CODE, httpStatusCode);
            }
            if (method != null) {
                builder.field(METHOD, method);
            }
            if (mimeType != null) {
                builder.field(MIME_TYPE, mimeType);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. cmd/healthcheck-handler.go

    	}
    
    	if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() {
    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    	// Verify if KMS is reachable if its configured
    	if GlobalKMS != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. cmd/object-lambda-handlers.go

    	code := resp.Header.Get(xhttp.AmzFwdErrorCode)
    	if strings.TrimSpace(code) == "" {
    		apiErr := errorCodes.ToAPIErr(ErrInvalidRequest)
    		apiErr.Description = desc
    		return &apiErr
    	}
    	return &APIError{
    		HTTPStatusCode: statusCode,
    		Description:    desc,
    		Code:           code,
    	}
    }
    
    // GetObjectLambdaHandler - GET Object with transformed data via lambda functions
    // ----------
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. cmd/bucket-encryption-handlers.go

    	if err != nil {
    		apiErr := APIError{
    			Code:           "MalformedXML",
    			Description:    fmt.Sprintf("%s (%s)", errorCodes[ErrMalformedXML].Description, err),
    			HTTPStatusCode: errorCodes[ErrMalformedXML].HTTPStatusCode,
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	// Return error if KMS is not initialized
    	if GlobalKMS == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/resources/mapping/data.json

            }
          },
          "contentLength": {
            "type": "long"
          },
          "lastModified": {
            "type": "long"
          },
          "ruleId": {
            "type": "keyword"
          },
          "httpStatusCode": {
            "type": "integer"
          },
          "status": {
            "type": "integer"
          }
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  9. cmd/api-response.go

    	}
    
    	// Similar check to http.checkWriteHeaderCode
    	if err.HTTPStatusCode < 100 || err.HTTPStatusCode > 999 {
    		bugLogIf(ctx, fmt.Errorf("invalid WriteHeader code %v from %v", err.HTTPStatusCode, err.Code))
    		err.HTTPStatusCode = http.StatusInternalServerError
    	}
    
    	// Generate error response.
    	errorResponse := getAPIErrorResponse(ctx, err, reqURL.Path,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

         * Checks if the HTTP status code indicates a redirect.
         *
         * @param httpStatusCode The HTTP status code to check
         * @return True if the status code indicates a redirect, false otherwise
         */
        protected boolean isRedirectHttpStatus(final int httpStatusCode) {
            return redirectHttpStatusPattern.matcher(Integer.toString(httpStatusCode)).matches();
        }
    
        /**
         * Executes the HTTP client request.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
Back to top