Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for addReader (0.17 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    		} else {
    			row.Cells = append(row.Cells, table.NewCell("✘", color.FgRed))
    		}
    		row.Cells = append(row.Cells, table.NewCell(wa.Reason))
    		return row
    	})
    	w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON")
    	injectedTotal := 0
    	for _, ws := range was {
    		if ws.Injected {
    			injectedTotal++
    		}
    		w.AddRow(ws)
    	}
    	w.Flush()
    	if injectedTotal > 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpClientHelper.java

        }
    
        public HttpClientResponse performRequest(HttpRequestBase request, boolean revalidate) {
            String method = request.getMethod();
            if (revalidate) {
                request.addHeader(HttpHeaders.CACHE_CONTROL, "max-age=0");
            }
            try {
                return executeGetOrHead(request);
            } catch (FailureFromRedirectLocation e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      }
    
      @Throws(Exception::class)
      private fun successfulExtensions(extensionsHeader: String) {
        webServer.enqueue(
          MockResponse.Builder()
            .addHeader("Sec-WebSocket-Extensions", extensionsHeader)
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val client: WebSocket = newWebSocket()
        clientListener.assertOpen()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

         * This is not automatic as not all servers support gzip compressed requests.
         *
         * ```
         * val request = Request.Builder().url("...")
         *  .addHeader("Content-Encoding", "gzip")
         *  .post(uncompressedBody.gzip())
         *  .build()
         * ```
         */
        @JvmStatic
        @ExperimentalOkHttpApi
        fun RequestBody.gzip(): RequestBody {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Request.kt

         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
         * OkHttp may replace [value] with a header derived from the request body.
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = commonAddHeader(name, value)
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) = commonRemoveHeader(name)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            if (cacheRef == null) {
                buildCacheDescriber = new NoopBuildCacheDescriber()
                cacheRef = new DefaultHttpBuildCacheServiceFactory(new DefaultSslContextFactory(), { it.addHeader("X-Gradle-Version", "3.0") }, httpClientHelperFactory)
                    .createBuildCacheService(this.config, buildCacheDescriber) as HttpBuildCacheService
            }
            cacheRef
        }
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        client =
          client.newBuilder()
            .connectionPool(ConnectionPool(0, 5, TimeUnit.SECONDS))
            .build()
        server.enqueue(
          MockResponse.Builder()
            .code(301)
            .addHeader("Location: /b")
            .bodyDelay(1, TimeUnit.SECONDS)
            .body("a")
            .build(),
        )
        server.enqueue(MockResponse(body = "b"))
        val request = Request(server.url("/"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.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
    - 16.7K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy

            }
    
            response.setContentType(contentType ?: new MimeTypes().getMimeByExtension(file.name).toString())
            if (sendSha1Header) {
                response.addHeader("X-Checksum-Sha1", Hashing.sha1().hashBytes(content).toZeroPaddedString(Hashing.sha1().hexDigits))
            }
    
            addEtag(response, content, etags)
            response.outputStream << content
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Response.kt

          value: String,
        ) = commonHeader(name, value)
    
        /**
         * Adds a header with [name] to [value]. Prefer this method for multiply-valued
         * headers like "Set-Cookie".
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = commonAddHeader(name, value)
    
        /** Removes all headers named [name] on this builder. */
        open fun removeHeader(name: String) = commonRemoveHeader(name)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top