Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 1xx (0.2 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. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * upgraded to HTTPS or HTTP/2.
         */
        fun inTunnel() =
          apply {
            removeHeader("Content-Length")
            inTunnel = true
          }
    
        /**
         * Adds an HTTP 1xx response to precede this response. Note that this response's
         * [headers delay][headersDelay] applies after this response is transmitted. Set a
         * headers delay on that response to delay its transmission.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  3. 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)
  4. 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)
  5. 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