- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for HTTPStatusCode (0.05 sec)
-
cmd/admin-handler-utils.go
HTTPStatusCode: http.StatusBadRequest, } case AdminError: apiErr = APIError{ Code: e.Code, Description: e.Message, HTTPStatusCode: e.StatusCode, } case SRError: apiErr = errorCodes.ToAPIErrWithErr(e.Code, e.Cause) case decomError: apiErr = APIError{ Code: "XMinioDecommissionNotAllowed", Description: e.Err, HTTPStatusCode: http.StatusBadRequest,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 03 07:17:20 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/api-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrInvalidStorageClass: { Code: "InvalidStorageClass", Description: "Invalid storage class.", HTTPStatusCode: http.StatusBadRequest, }, ErrInvalidRequestBody: { Code: "InvalidArgument", Description: "Body shouldn't be set for this request.", HTTPStatusCode: http.StatusBadRequest, }, ErrInvalidMaxUploads: {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (1) -
cmd/sts-errors.go
stsLogIf(ctx, err, logger.ErrorKind) } encodedErrorResponse := encodeResponse(stsErrorResponse) writeResponse(w, stsErr.HTTPStatusCode, encodedErrorResponse, mimeXML) } // STSError structure type STSError struct { Code string Description string HTTPStatusCode int } // STSErrorResponse - error response format type STSErrorResponse struct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 05 00:29:41 UTC 2025 - 6K bytes - Viewed (0) -
cmd/handler-utils.go
Code: "XMinioPeerVersionMismatch", Description: desc, HTTPStatusCode: http.StatusUpgradeRequired, }, r.URL) case strings.HasPrefix(r.URL.Path, storageRESTPrefix): writeErrorResponseString(r.Context(), w, APIError{ Code: "XMinioStorageVersionMismatch", Description: desc, HTTPStatusCode: http.StatusUpgradeRequired, }, r.URL) case strings.HasPrefix(r.URL.Path, adminPathPrefix):
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.3K bytes - Viewed (1) -
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) -
src/main/java/org/codelibs/curl/CurlResponse.java
*/ public int getHttpStatusCode() { return httpStatusCode; } /** * Sets the HTTP status code for the response. * * @param httpStatusCode the HTTP status code to set. */ public void setHttpStatusCode(final int httpStatusCode) { this.httpStatusCode = httpStatusCode; } /** * Gets the encoding used for the response content.
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 6.8K bytes - Viewed (0) -
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) -
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) -
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) -
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)