Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for http2 (0.02 sec)

  1. pyproject.toml

        "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
        "Topic :: Internet :: WWW/HTTP",
    ]
    dependencies = [
        "starlette>=0.40.0,<0.51.0",
        "pydantic>=2.7.0",
        "typing-extensions>=4.8.0",
        "annotated-doc>=0.0.2",
    ]
    
    [project.urls]
    Homepage = "https://github.com/fastapi/fastapi"
    Documentation = "https://fastapi.tiangolo.com/"
    Repository = "https://github.com/fastapi/fastapi"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. fastapi/exceptions.py

        line: int
    
    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. tests/test_openapi_servers.py

    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    
    client = TestClient(app)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    Read more about it in the
                    [FastAPI docs for Additional Responses in OpenAPI](https://fastapi.tiangolo.com/advanced/additional-responses/).
    
                    And in the
                    [FastAPI docs for Bigger Applications](https://fastapi.tiangolo.com/tutorial/bigger-applications/#include-an-apirouter-with-a-custom-prefix-tags-responses-and-dependencies).
                    """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py

                        "msg": "Input should be a valid list",
                        "input": {"numbers": [1, 2, 3]},
                    }
                ],
                # httpx 0.28.0 switches to compact JSON https://github.com/encode/httpx/issues/3363
                "body": IsOneOf('{"numbers": [1, 2, 3]}', '{"numbers":[1,2,3]}'),
            }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. fastapi/openapi/models.py

        description: Optional[str] = None
        url: AnyUrl
    
    
    # Ref JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation#name-type
    SchemaType = Literal[
        "array", "boolean", "integer", "null", "number", "object", "string"
    ]
    
    
    class Schema(BaseModelWithConfig):
        # Ref: JSON Schema 2020-12: https://json-schema.org/draft/2020-12/json-schema-core.html#name-the-json-schema-core-vocabu
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * 🔧 Update sponsors: add Greptile. PR [#14429](https://github.com/fastapi/fastapi/pull/14429) by [@tiangolo](https://github.com/tiangolo).
    * 👥 Update FastAPI GitHub topic repositories. PR [#14426](https://github.com/fastapi/fastapi/pull/14426) by [@tiangolo](https://github.com/tiangolo).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  8. docs/zh-hant/llm-prompt.md

    2. For some Python-specific terms like "pickle", "list", "dict" etc, we don't have to translate them.
    3. Use the following preferred translations when they apply in documentation prose:
    
    - request (HTTP): 請求
    - response (HTTP): 回應
    - path operation: 路徑操作
    - path operation function: 路徑操作函式
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. scripts/translate.py

    2) For absolute URLs which DO NOT start EXACTLY with «https://fastapi.tiangolo.com», only translate link text and leave the URL unchanged.
    
    Example:
    
        Source (English):
    
            «««
            <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel docs</a>
            »»»
    
        Result (German):
    
            «««
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

                "servers": [
                    {"url": "/api/v1"},
                    {
                        "url": "https://stag.example.com",
                        "description": "Staging environment",
                    },
                    {
                        "url": "https://prod.example.com",
                        "description": "Production environment",
                    },
                ],
                "paths": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top