Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 648 for hendes (0.04 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       */
      public val target: String,
      /** A string like `HTTP/1.1` or `HTTP/2`. */
      public val version: String,
      /** The request URL built using the request line, headers, and local host name. */
      public val url: HttpUrl,
      /** All headers. */
      public val headers: Headers,
      /** The body of this request, or null if it has none. This may be truncated. */
      public val body: ByteString?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

          MockResponse(
            code = 302,
            headers = headersOf("Location", "/b"),
          ),
        )
        server.enqueue(MockResponse())
    
        val request = Request(server.url("/"))
        val call = client.newCall(request)
        val response = call.execute()
    
        assertThat(response.request.url.encodedPath).isEqualTo("/b")
        assertThat(response.request.headers).isEqualTo(headersOf())
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

      override fun intercept(chain: Interceptor.Chain): Response =
        if (algorithms.isNotEmpty() && chain.request().header("Accept-Encoding") == null) {
          val request =
            chain
              .request()
              .newBuilder()
              .header("Accept-Encoding", acceptEncoding)
              .build()
    
          val response = chain.proceed(request)
    
          decompress(response)
        } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/SearchForm.java

     */
    package org.codelibs.fess.app.web.admin.reqheader;
    
    /**
     * The search form for Request Header.
     */
    public class SearchForm {
    
        /**
         * Default constructor for SearchForm.
         */
        public SearchForm() {
        }
    
        /**
         * The ID field for searching request headers.
         */
        public String id;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 930 bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

        val headers = response.headers
        assertThat(headers.size).isEqualTo(1)
        assertThat(headers.name(0)).isEqualTo(":version")
        assertThat(headers.value(0)).isEqualTo("HTTP/1.1")
      }
    
      @Test fun http2HeadersListDropsForbiddenHeadersHttp2() {
        val request =
          Request
            .Builder()
            .url("http://square.com/")
            .header("Connection", "upgrade")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
        val parts = header.split(':', limit = 2)
        if (!isSpecialHeader(parts[0])) {
          request.header(parts[0], parts[1])
        }
      }
      referer?.let {
        request.header("Referer", it)
      }
      request.header("User-Agent", userAgent)
    
      return request.build()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.toString()).isEqualTo(header)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseIgnoreCacheControlExtensions() {
        // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6
        val header = "private, community=\"UCI\""
        val cacheControl =
          parse(
            Headers
              .Builder()
              .set("Cache-Control", header)
              .build(),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

          ProtocolException::class.java,
          "Expected 'Sec-WebSocket-Accept' header value 'ujmZX4KXZqjwy6vi1aQFH5p4Ygk=' but was 'magic'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun clientIncludesForbiddenHeader() {
        newWebSocket(
          Request
            .Builder()
            .url(webServer.url("/"))
            .header("Sec-WebSocket-Extensions", "permessage-deflate")
            .build(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

            length = 0,
            type = TYPE_SETTINGS,
            flags = FLAG_ACK,
          )
          sink.flush()
        }
      }
    
      /**
       * HTTP/2 only. Send a push promise header block.
       *
       * A push promise contains all the headers that pertain to a server-initiated request, and a
       * `promisedStreamId` to which response frames will be delivered. Push promise frames are sent as
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = cookieJar.loadForRequest(userRequest.url)
        if (cookies.isNotEmpty()) {
          requestBuilder.header("Cookie", cookieHeader(cookies))
        }
    
        if (userRequest.header("User-Agent") == null) {
          requestBuilder.header("User-Agent", USER_AGENT)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top