Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for 5xx (0.2 sec)

  1. tests/test_additional_responses_router.py

        "/c",
        responses={
            "400": {"description": "Error with str"},
            "5xx": {"description": "Error with range, lower"},
            "default": {"description": "A default response"},
        },
    )
    async def c():
        return "c"
    
    
    @router.get(
        "/d",
        responses={
            "400": {"description": "Error with str"},
            "5XX": {"model": ResponseModel},
            "default": {"model": ResponseModel},
        },
    )
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. cmd/metrics-v3-api.go

    		"Total number of requests", "name", "type")
    	apiRequestsErrorsTotalMD = NewCounterMD(apiRequestsErrorsTotal,
    		"Total number of requests with (4xx and 5xx) errors", "name", "type")
    	apiRequests5xxErrorsTotalMD = NewCounterMD(apiRequests5xxErrorsTotal,
    		"Total number of requests with 5xx errors", "name", "type")
    	apiRequests4xxErrorsTotalMD = NewCounterMD(apiRequests4xxErrorsTotal,
    		"Total number of requests with 4xx errors", "name", "type")
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/metrics/v3.md

    | `minio_api_requests_errors_total`              | `counter` | Total number of requests with (4xx and 5xx) errors      | `name,type,pool_index,server`    |
    | `minio_api_requests_5xx_errors_total`          | `counter` | Total number of requests with 5xx errors                | `name,type,pool_index,server`    |
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:15 GMT 2024
    - 19K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/response-status-code.md

        * Для общих ошибок со стороны клиента можно просто использовать код `400`.
    * `5XX` – статус-коды, сообщающие о серверной ошибке. Они почти никогда не используются разработчиками напрямую. Когда что-то идет не так в какой-то части кода вашего приложения или на сервере, он автоматически вернёт один из 5XX кодов.
    
    !!! tip "Подсказка"
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Apr 25 18:44:34 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/list.md

    | `minio_s3_requests_5xx_errors_total`          | Total number S3 requests with (5xx) errors.              |
    | `minio_s3_requests_canceled_total`            | Total number S3 requests canceled by the client.         |
    | `minio_s3_requests_errors_total`              | Total number S3 requests with (4xx and 5xx) errors.      |
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 17:15:39 GMT 2024
    - 43.5K bytes
    - Viewed (1)
  6. docs/ko/docs/tutorial/response-status-code.md

    * `**4xx**` 상태 코드는 "클라이언트 오류" 응답을 위해 사용됩니다. 이것은 아마 가장 많이 사용하게 될 두번째 유형입니다.
        * 일례로 `404` 는 "찾을 수 없음" 응답을 위해 사용합니다.
        * 일반적인 클라이언트 오류의 경우 `400` 을 사용할 수 있습니다.
    * `**5xx**` 상태 코드는 서버 오류에 사용됩니다. 이것들을 직접 사용할 일은 거의 없습니다. 응용 프로그램 코드나 서버의 일부에서 문제가 발생하면 자동으로 이들 상태 코드 중 하나를 반환합니다.
    
    !!! tip "팁"
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. internal/http/response-recorder.go

    )
    
    // ResponseRecorder - is a wrapper to trap the http response
    // status code and to record the response body
    type ResponseRecorder struct {
    	http.ResponseWriter
    	io.ReaderFrom
    	StatusCode int
    	// Log body of 4xx or 5xx responses
    	LogErrBody bool
    	// Log body of all responses
    	LogAllBody bool
    
    	TimeToFirstByte time.Duration
    	StartTime       time.Time
    	// number of bytes written
    	bytesWritten int
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. fastapi/utils.py

        # Ref: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#patterned-fields-1
        if status_code in {
            "default",
            "1XX",
            "2XX",
            "3XX",
            "4XX",
            "5XX",
        }:
            return True
        current_status_code = int(status_code)
        return not (current_status_code < 200 or current_status_code in {204, 205, 304})
    
    
    def get_path_param_names(path: str) -> Set[str]:
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Mon Jan 15 10:32:16 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                                  description: Minimum ejection duration.
                                  type: string
                                consecutive5xxErrors:
                                  description: Number of 5xx errors before a host is ejected
                                    from the connection pool.
                                  nullable: true
                                  type: integer
                                consecutiveErrors:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 18:46:49 GMT 2024
    - 570.3K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    	}
    }
    
    func getS3Requests5xxErrorsMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    		Subsystem: requestsSubsystem,
    		Name:      "5xx_" + errorsTotal,
    		Help:      "Total number of S3 requests with (5xx) errors",
    		Type:      counterMetric,
    	}
    }
    
    func getS3RequestsCanceledMD() MetricDescription {
    	return MetricDescription{
    		Namespace: s3MetricNamespace,
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:15 GMT 2024
    - 132.1K bytes
    - Viewed (0)
Back to top