Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeHeader (0.06 sec)

  1. okhttp/api/okhttp.api

    	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;
    	public fun tag (Ljava/lang/Class;Ljava/lang/Object;)Lokhttp3/Request$Builder;
    	public fun tag (Ljava/lang/Object;)Lokhttp3/Request$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        val responseWithoutBody =
          MockResponse.Builder()
            .status("HTTP/1.1 204")
            .removeHeader("Content-Length")
            .build()
        server.enqueue(responseWithoutBody)
        val call = client.newCall(Request(server.url("/foo")))
        val response = call.execute()
    
        // Body contains nothing.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top