Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for POST (0.15 sec)

  1. okhttp/src/test/java/okhttp3/EventListenerTest.kt

            .build(),
        )
        val request = NonCompletingRequestBody()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(request)
              .build(),
          )
        assertFailsWith<IOException> {
          call.execute()
        }
        if (expectedProtocol != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

                },
            ),
          )
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABCDE")
        val request = server.takeRequest()
        assertThat(request.requestLine).isEqualTo("POST /foo HTTP/1.1")
        assertArrayEquals(postBytes, request.body.readByteArray())
        assertThat(request.headers["Content-Length"]).isNull()
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

    
    ## Version 3.13.0
    
    _2019-02-04_
    
     *  **This release bumps our minimum requirements to Java 8+ or Android 5+.** Cutting off old
        devices is a serious change and we don't do it lightly! [This post][require_android_5] explains
        why we're doing this and how to upgrade.
    
        The OkHttp 3.12.x branch will be our long-term branch for Android 2.3+ (API level 9+) and Java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    	public fun headers (Lokhttp3/Headers;)Lokhttp3/Request$Builder;
    	public fun method (Ljava/lang/String;Lokhttp3/RequestBody;)Lokhttp3/Request$Builder;
    	public fun patch (Lokhttp3/RequestBody;)Lokhttp3/Request$Builder;
    	public fun post (Lokhttp3/RequestBody;)Lokhttp3/Request$Builder;
    	public fun put (Lokhttp3/RequestBody;)Lokhttp3/Request$Builder;
    	public fun removeHeader (Ljava/lang/String;)Lokhttp3/Request$Builder;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top