Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for redirect_fastapi (0.22 sec)

  1. docs_src/custom_response/tutorial006b.py

    from fastapi import FastAPI
    from fastapi.responses import RedirectResponse
    
    app = FastAPI()
    
    
    @app.get("/fastapi", response_class=RedirectResponse)
    async def redirect_fastapi():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jul 03 19:51:28 GMT 2021
    - 220 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_custom_response/test_tutorial006b.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/fastapi": {
                    "get": {
                        "summary": "Redirect Fastapi",
                        "operationId": "redirect_fastapi_fastapi_get",
                        "responses": {"307": {"description": "Successful Response"}},
                    }
                }
            },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 899 bytes
    - Viewed (0)
Back to top