Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for read_responses (0.1 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

      }
    
      private fun processResponse(
        response: Response,
        hostname: String,
        results: MutableList<InetAddress>,
        failures: MutableList<Exception>,
      ) {
        try {
          val addresses = readResponse(hostname, response)
          synchronized(results) {
            results.addAll(addresses)
          }
        } catch (e: Exception) {
          synchronized(failures) {
            failures.add(e)
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top