Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,772 for request (0.22 sec)

  1. docs/em/docs/tutorial/request-forms-and-files.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/request-forms-and-files.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

          ),
        )
      }
    
      @Test
      fun getHasCorrectResponse() {
        val request = Request(server.url("/abc"))
    
        val response = testBasicCachingRules(request)
    
        assertThat(response.request.url).isEqualTo(request.url)
        assertThat(response.cacheResponse!!.request.url).isEqualTo(request.url)
      }
    
      @Test
      fun postWithOverrideResponse() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

            .cache(cache)
            .build()
        val request1 = Request(server.url("/"))
        client.newCall(request1).enqueue(callback)
        callback.await(request1.url).assertCode(200).assertBody("A")
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
        val request2 = Request(server.url("/"))
        client.newCall(request2).enqueue(callback)
        callback.await(request2.url).assertCode(200).assertBody("A")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

      private fun assertConnectionReused(vararg requests: Request?) {
        for (i in requests.indices) {
          val response = client.newCall(requests[i]!!).execute()
          response.body.string() // Discard the response body.
          assertThat(server.takeRequest().sequenceNumber).isEqualTo(i)
        }
      }
    
      private fun assertConnectionNotReused(vararg requests: Request?) {
        for (request in requests) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/RequestCommonTest.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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. fastapi/requests.py

    from starlette.requests import HTTPConnection as HTTPConnection  # noqa: F401
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 20:17:08 UTC 2020
    - 142 bytes
    - Viewed (0)
  8. 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
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        client.newCall(request).execute().use {
          assertEquals(204, it.code)
        }
    
        request =
          Request.Builder()
            .url(endpointUrl)
            .header("Content-Type", "application/xml")
            .put(ErringRequestBody())
            .build()
        assertFailsWith<IOException> {
          client.newCall(request).execute()
        }
    
        request =
          Request.Builder()
            .url(endpointUrl)
            .head()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      val bodySize: Long,
      /** The body of this POST request. This may be truncated. */
      val body: Buffer,
      /**
       * The index of this request on its HTTP connection. Since a single HTTP connection may serve
       * multiple requests, each request is assigned its own sequence number.
       */
      val sequenceNumber: Int,
      socket: Socket,
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top