Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for 5xx (0.02 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},
        },
    )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/response-status-code.md

        * Для общих ошибок со стороны клиента можно просто использовать код `400`.
    * `5XX` – статус-коды, сообщающие о серверной ошибке. Они почти никогда не используются разработчиками напрямую. Когда что-то идет не так в какой-то части кода вашего приложения или на сервере, он автоматически вернёт один из 5XX кодов.
    
    /// tip | "Подсказка"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. 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")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/istio-mesh.libsonnet

          panels.timeSeries.statRps('4xxs', queries.globalRequest4xx, 'Total 4xx requests in in the cluster'),
          panels.timeSeries.statRps('5xxs', queries.globalRequest5xx, 'Total 5xx requests in in the cluster'),
        ]),
      ], panelHeight=5)
      + [
    
        panels.tables.requests('HTTP/gRPC Workloads', queries.httpWorkloads, 'Request information for HTTP services') + {
          gridPos+: {
            h: 16,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/response-status-code.md

    * **`4xx`** 상태 코드는 "클라이언트 오류" 응답을 위해 사용됩니다. 이것은 아마 가장 많이 사용하게 될 두번째 유형입니다.
        * 일례로 `404` 는 "찾을 수 없음" 응답을 위해 사용합니다.
        * 일반적인 클라이언트 오류의 경우 `400` 을 사용할 수 있습니다.
    * `5xx` 상태 코드는 서버 오류에 사용됩니다. 이것들을 직접 사용할 일은 거의 없습니다. 응용 프로그램 코드나 서버의 일부에서 문제가 발생하면 자동으로 이들 상태 코드 중 하나를 반환합니다.
    
    /// tip | "팁"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. 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.      |
    | `minio_s3_requests_incoming_total`            | Volatile number of total incoming S3 requests.           |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  7. 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]:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 31 23:46:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. 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
    
    	ttfbHeader time.Duration
    	ttfbBody   time.Duration
    
    	StartTime time.Time
    	// number of bytes written
    	bytesWritten int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. docs/metrics/v3.md

    | `minio_api_requests_errors_total`              | Total number of requests with 4xx or 5xx errors. <br><br>Type: counter         | `name`, `type`, `pool_index`, `server`       |
    | `minio_api_requests_5xx_errors_total`          | Total number of requests with 5xx errors. <br><br>Type: counter                | `name`, `type`, `pool_index`, `server`       |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-service-dashboard.json

              "format": "time_series",
              "intervalFactor": 1,
              "range": true,
              "refId": "A"
            }
          ],
          "title": "Client Success Rate (non-5xx responses)",
          "type": "stat"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${datasource}"
          },
          "fieldConfig": {
            "defaults": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 111.8K bytes
    - Viewed (0)
Back to top