Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 234 for request (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/Request.kt

        }
    
        internal constructor(request: Request) {
          this.url = request.url
          this.method = request.method
          this.body = request.body
          this.tags =
            when {
              request.tags.isEmpty() -> mapOf()
              else -> request.tags.toMutableMap()
            }
          this.headers = request.headers.newBuilder()
          this.cacheUrlOverride = request.cacheUrlOverride
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

        {!> ../../../docs_src/request_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_files/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_files/tutorial001.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/request-files.md

        {!> ../../../docs_src/request_files/tutorial001.py!}
        ```
    
    ## Определите параметры `File`
    
    Создайте параметры `File` так же, как вы это делаете для `Body` или `Form`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/request_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="8"
        {!> ../../../docs_src/request_files/tutorial001_an.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/request-files.md

        ```
    
    ## `File`-Parameter definieren
    
    Erstellen Sie Datei-Parameter, so wie Sie es auch mit `Body` und `Form` machen würden:
    
    === "Python 3.9+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/request_files/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="8"
        {!> ../../../docs_src/request_files/tutorial001_an.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            .build()
        val response = client.newCall(request).execute()
        assertThat(response.request.header("User-Agent")).isNotNull()
        assertThat(response.request.header("User-Agent")).isEqualTo("user request")
        assertThat(response.networkResponse!!.request.header("User-Agent")).isEqualTo(
          "intercepted request",
        )
      }
    
      @Test
      fun applicationInterceptorThrowsRuntimeExceptionAsynchronous() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RequestTest.kt

        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo(method)
        assertThat(request.body).isEqualTo(body)
        assertThat(request.tags).isEmpty()
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

      }
    
      private fun executeSynchronously(request: Request): RecordedResponse {
        val call = client.newCall(request)
        return try {
          val response = call.execute()
          val bodyString = response.body.string()
          RecordedResponse(request, response, null, bodyString, null)
        } catch (e: IOException) {
          RecordedResponse(request, null, null, null, e)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/certificates/v1/generated.proto

    }
    
    // CertificateSigningRequestSpec contains the certificate request.
    message CertificateSigningRequestSpec {
      // request contains an x509 certificate signing request encoded in a "CERTIFICATE REQUEST" PEM block.
      // When serialized as JSON or YAML, the data is additionally base64-encoded.
      // +listType=atomic
      optional bytes request = 1;
    
      // signerName indicates the requested signer, and is a qualified name.
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/DispatcherTest.kt

      @Test
      fun executionRejectedAfterMaxRequestsChange() {
        val request1 = newRequest("http://a/1")
        val request2 = newRequest("http://a/2")
        dispatcher.maxRequests = 1
        client.newCall(request1).enqueue(callback)
        executor.shutdown()
        client.newCall(request2).enqueue(callback)
        dispatcher.maxRequests = 2 // Trigger promotion.
        callback.await(request2.url).assertFailure(InterruptedIOException::class.java)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

          MockResponse(body = "this was the 2nd request on IPv4"),
        )
        serverIpv6.enqueue(
          MockResponse(body = "unexpected call to IPv6"),
        )
    
        // Confirm the retry succeeds on the same connection.
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this was the 2nd request on IPv4")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top