Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 53 of 53 for addReader (0.14 sec)

  1. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy

                    if (httpStub.request.body) {
                        httpStub.request.body.call(request.getInputStream())
                    }
                    httpStub.response?.headers?.each {
                        response.addHeader(it.key, it.value instanceof Closure ? it.value.call().toString() : it.value.toString())
                    }
                    response.setStatus(httpStub.response.status)
                    if (httpStub.response?.body) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  2. okhttp/api/okhttp.api

    	public fun toString ()Ljava/lang/String;
    	public final fun url ()Lokhttp3/HttpUrl;
    }
    
    public class okhttp3/Request$Builder {
    	public fun <init> ()V
    	public fun addHeader (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Request$Builder;
    	public fun build ()Lokhttp3/Request;
    	public fun cacheControl (Lokhttp3/CacheControl;)Lokhttp3/Request$Builder;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun gzippedResponseBody(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Content-Encoding: gzip")
            .body(gzip("ABCABCABC"))
            .build(),
        )
        val call = client.newCall(Request(server.url("/r1")))
        val response = call.execute()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
Back to top