Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for StatusBadRequest (0.08 sec)

  1. cmd/warm-backend-azure.go

    		case http.StatusNotFound:
    			if object != "" {
    				err = ObjectNotFound{
    					Bucket: bucket,
    					Object: object,
    				}
    			} else {
    				err = BucketNotFound{Bucket: bucket}
    			}
    		case http.StatusBadRequest:
    			err = BucketNameInvalid{Bucket: bucket}
    		}
    	}
    	return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    		}
    
    		writeErrorResponse(r.Context(), w, APIError{
    			Code: "BadRequest",
    			Description: fmt.Sprintf("An unsupported API call for method: %s at '%s'",
    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    func getHostName(r *http.Request) (hostName string) {
    	if globalIsDistErasure {
    		hostName = globalLocalNodeName
    	} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  3. cmd/admin-handlers-site-replication.go

    				adminLogIf(ctx, err)
    			}
    		}
    		if err != nil {
    			if errors.Is(err, io.EOF) {
    				w.WriteHeader(http.StatusNoContent)
    			} else {
    				w.WriteHeader(http.StatusBadRequest)
    			}
    			break
    		}
    	}
    }
    
    // SiteReplicationNetPerf - everything goes to io.Discard
    // [POST] /minio/admin/v3/site-replication/netperf
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    			Code: "InvalidBucketState",
    			Description: fmt.Sprintf("The source '%s' has versioning enabled, target '%s' must have versioning enabled",
    				r.Source.Bucket, r.Target.Bucket),
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	r.clnt = c
    	return nil
    }
    
    // Type returns type of batch job, currently only supports 'replicate'
    func (j BatchJobRequest) Type() madmin.BatchJobType {
    	switch {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	if isInternal && !opts.Internal {
    		return false
    	}
    
    	// Filter non-errors.
    	if isHTTP && opts.OnlyErrors && trcInfo.HTTP.RespInfo.StatusCode < http.StatusBadRequest {
    		return false
    	}
    
    	return true
    }
    
    func extractTraceOptions(r *http.Request) (opts madmin.ServiceTraceOpts, err error) {
    	if err := opts.ParseParams(r); err != nil {
    		return opts, err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			}
    		}
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	w.Header()[xhttp.ETag] = []string{`"` + hex.EncodeToString(hreader.MD5Current()) + `"`}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg net/http, const DefaultMaxHeaderBytes ideal-int
    pkg net/http, const DefaultMaxIdleConnsPerHost ideal-int
    pkg net/http, const StatusAccepted ideal-int
    pkg net/http, const StatusBadGateway ideal-int
    pkg net/http, const StatusBadRequest ideal-int
    pkg net/http, const StatusConflict ideal-int
    pkg net/http, const StatusContinue ideal-int
    pkg net/http, const StatusCreated ideal-int
    pkg net/http, const StatusExpectationFailed ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg net/http, const DefaultMaxHeaderBytes = 1048576
    pkg net/http, const DefaultMaxIdleConnsPerHost = 2
    pkg net/http, const StatusAccepted = 202
    pkg net/http, const StatusBadGateway = 502
    pkg net/http, const StatusBadRequest = 400
    pkg net/http, const StatusConflict = 409
    pkg net/http, const StatusContinue = 100
    pkg net/http, const StatusCreated = 201
    pkg net/http, const StatusExpectationFailed = 417
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top