Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for HTTPStatusCode (0.17 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        private boolean isTemporaryFile;
    
        private boolean noFollow = false;
    
        public int getHttpStatusCode() {
            return httpStatusCode;
        }
    
        public void setHttpStatusCode(final int statusCode) {
            httpStatusCode = statusCode;
        }
    
        public boolean hasResponseBody() {
            return responseBodyBytes != null || responseBodyFile != null;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. cmd/object-lambda-handlers.go

    	if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" && StatusCode(status) > -1 {
    		apiErr := &APIError{
    			HTTPStatusCode: StatusCode(status),
    			Description:    resp.Header.Get(xhttp.AmzFwdErrorMessage),
    			Code:           resp.Header.Get(xhttp.AmzFwdErrorCode),
    		}
    		if apiErr.HTTPStatusCode == http.StatusOK {
    			return nil
    		}
    		return apiErr
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top