Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 575 for Header1 (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
        val expectedRequestHeaders =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/cached"),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_2x.md

     *  Fix: Include a backwards-compatible `OkHttp-Response-Source` header with
        `OkUrlFactory `responses.
     *  Fix: Don't include a default User-Agent header in requests made with the Call
        API. Requests made with OkUrlFactory will continue to have a default user
        agent.
     *  New: Guava-like API to create headers:
    
        ```java
        Headers headers = Headers.of(name1, value1, name2, value2, ...).
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

          )
    
        fun http2HeadersList(request: Request): List<Header> {
          val headers = request.headers
          val result = ArrayList<Header>(headers.size + 4)
          result.add(Header(TARGET_METHOD, request.method))
          result.add(Header(TARGET_PATH, RequestLine.requestPath(request.url)))
          val host = request.header("Host")
          if (host != null) {
            result.add(Header(TARGET_AUTHORITY, host)) // Optional.
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlResponse.java

            return contentException;
        }
    
        /**
         * Sets the headers for the response.
         *
         * @param headers the headers to set.
         */
        public void setHeaders(final Map<String, List<String>> headers) {
            if (headers != null) {
                final Map<String, List<String>> map = new HashMap<>();
                headers.entrySet().stream().filter(e -> e.getKey() != null)
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_4x.md

    
    ## Version 4.9.2
    
    _2021-09-30_
    
     *  Fix: Don't include potentially-sensitive header values in `Headers.toString()` or exceptions.
        This applies to `Authorization`, `Cookie`, `Proxy-Authorization`, and `Set-Cookie` headers.
     *  Fix: Don't crash with an `InaccessibleObjectException` when running on JDK17+ with strong
        encapsulation enabled.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

        /**
         * Retrieves a specific request header by its ID.
         *
         * @param id the unique identifier of the request header
         * @return an OptionalEntity containing the request header if found, empty otherwise
         */
        public OptionalEntity<RequestHeader> getRequestHeader(final String id) {
            return requestHeaderBhv.selectByPK(id);
        }
    
        /**
         * Stores a request header configuration to the database.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

        get() {
          val result = mutableListOf<Header>()
          for (inputHeader in headers) {
            val (key, value) = inputHeader.entries.iterator().next()
            result.add(Header(key, value))
          }
          return result
        }
    
      public override fun clone() = Case(seqno, this.wire, headers)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/CurlResponseTest.java

            CurlResponse response = new CurlResponse();
            Map<String, List<String>> headers = new HashMap<>();
            headers.put("Content-Type", Arrays.asList("application/json"));
            headers.put("CONTENT-LENGTH", Arrays.asList("100"));
            headers.put("accept-encoding", Arrays.asList("gzip"));
            response.setHeaders(headers);
    
            // All header access should be case-insensitive
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/cors/CorsHandler.java

        /**
         * CORS header for specifying allowed headers.
         */
        protected static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
    
        /**
         * CORS header for specifying allowed HTTP methods.
         */
        protected static final String ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods";
    
        /**
         * CORS header for allowing private network access.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

          }
    
        /** Removes all headers on this builder and adds [headers]. */
        open fun headers(headers: Headers) =
          apply {
            this.headers = headers.newBuilder()
          }
    
        /**
         * Sets this request's `Cache-Control` header, replacing any cache control headers already
         * present. If [cacheControl] doesn't define any directives, this clears this request's
         * cache-control headers.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
Back to top