Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 726 for header1 (0.05 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  2. docs/changelogs/changelog_3x.md

        This class is in the `logging-interceptor` artifact.
     *  New: `Headers.Builder.addUnsafeNonAscii()` allows non-ASCII values to be added without an
        immediate exception.
     *  New: Headers can be redacted in `HttpLoggingInterceptor`.
     *  New: `Headers.Builder` now accepts dates.
     *  New: OkHttp now accepts `java.time.Duration` for timeouts on Java 8+ and Android 26+.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

        override fun ackSettings() {
          check(type == -1)
          this.type = Http2.TYPE_SETTINGS
          this.ack = true
        }
    
        override fun headers(
          inFinished: Boolean,
          streamId: Int,
          associatedStreamId: Int,
          headerBlock: List<Header>,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_HEADERS
          this.inFinished = inFinished
          this.streamId = streamId
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

         * Creates a CURL request from the provided header string.
         *
         * @param header the header string containing HTTP method and path
         * @return CURL request object or null if header is invalid
         */
        private CurlRequest getCurlRequest(final String header) {
            if (StringUtil.isBlank(header)) {
                return null;
            }
    
            final String[] values = header.split(" ");
            if (values.length != 2) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 930 bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
       * [reader]. For example, if the reader's peeked tag isn't readable by this adapter, it may return
       * a default value.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

    ) : DerAdapter<T> {
      init {
        require(tagClass >= 0)
        require(tag >= 0)
      }
    
      override fun matches(header: DerHeader): Boolean = header.tagClass == tagClass && header.tag == tag
    
      override fun fromDer(reader: DerReader): T {
        val peekedHeader = reader.peekHeader()
        if (peekedHeader == null || peekedHeader.tagClass != tagClass || peekedHeader.tag != tag) {
          if (isOptional) return defaultValue as T
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top