Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for read_responses (0.25 sec)

  1. tests/test_computed_fields.py

        @app.get("/")
        def read_root() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        @app.get("/responses", responses={200: {"model": Rectangle}})
        def read_responses() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        client = TestClient(app)
        return client
    
    
    @pytest.mark.parametrize("path", ["/", "/responses"])
    @needs_pydanticv2
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg net/http, func ProxyFromEnvironment(*Request) (*url.URL, error)
    pkg net/http, func ProxyURL(*url.URL) func(*Request) (*url.URL, error)
    pkg net/http, func ReadRequest(*bufio.Reader) (*Request, error)
    pkg net/http, func ReadResponse(*bufio.Reader, *Request) (*Response, error)
    pkg net/http, func Redirect(ResponseWriter, *Request, string, int)
    pkg net/http, func RedirectHandler(string, int) Handler
    pkg net/http, func Serve(net.Listener, Handler) error
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top