Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 1xx (0.17 sec)

  1. fastapi/utils.py

        if status_code is None:
            return True
        # 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)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. fastapi/openapi/utils.py

            "detail": {
                "title": "Detail",
                "type": "array",
                "items": {"$ref": REF_PREFIX + "ValidationError"},
            }
        },
    }
    
    status_code_ranges: Dict[str, str] = {
        "1XX": "Information",
        "2XX": "Success",
        "3XX": "Redirection",
        "4XX": "Client Error",
        "5XX": "Server Error",
        "DEFAULT": "Default Response",
    }
    
    
    def get_openapi_security_definitions(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  3. CHANGELOG.md

     *  New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type
        parameter only, like `request.tag<MyTagClass>()`.
     *  New: MockWebServer has improved support for HTTP/1xx responses. Once you've migrated to the new
        `mockwebserver3` package, there's a new field, `MockResponse.informationalResponses`.
     *  Fix: Don't interpret trailers as headers after an HTTP/100 response. This was a bug only when
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    ## 0.85.1
    
    ### Fixes
    
    * 🐛 Fix support for strings in OpenAPI status codes: `default`, `1XX`, `2XX`, `3XX`, `4XX`, `5XX`. PR [#5187](https://github.com/tiangolo/fastapi/pull/5187) by [@JarroVGIT](https://github.com/JarroVGIT).
    
    ### Docs
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
Back to top