Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 726 for header1 (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        assertThat(request.header("Host")).isNull()
        assertThat(request.header("Accept-Encoding")).isNull()
    
        // No extra headers in the application's response.
        val response = client.newCall(request).execute()
        assertThat(request.header("Content-Encoding")).isNull()
        assertThat(response.body.string()).isEqualTo("abcabcabc")
      }
    
      @Test
      fun networkInterceptorsCanChangeRequestMethodFromGetToPost() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. 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).forEach(
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

            "custom-foo",
            "custom-header",
            "custom-bar",
            "custom-header",
            "custom-baz",
            "custom-header",
          )
        bytesIn.writeByte(0x40) // Literal indexed
        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-foo")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
        bytesIn.writeUtf8("custom-header")
        bytesIn.writeByte(0x40) // Literal indexed
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CsvExtractor.java

        /**
         * Builds the extract data from headers and rows.
         *
         * @param headers the header row
         * @param rows the data rows
         * @return the extract data
         */
        protected ExtractData buildExtractData(final String[] headers, final List<String[]> rows) {
            final StringBuilder textBuilder = new StringBuilder();
    
            // Add headers to text
            if (headers != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("content-disposition", ""),
          Header("content-encoding", ""),
          Header("content-language", ""),
          Header("content-length", ""),
          Header("content-location", ""),
          Header("content-range", ""),
          Header("content-type", ""),
          Header("cookie", ""),
          Header("date", ""),
          Header("etag", ""),
          Header("expect", ""),
          Header("expires", ""),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Access-Control-Request-Headers} header field name. */
      public static final String ACCESS_CONTROL_REQUEST_HEADERS = "Access-Control-Request-Headers";
    
      /** The HTTP {@code Access-Control-Request-Method} header field name. */
      public static final String ACCESS_CONTROL_REQUEST_METHOD = "Access-Control-Request-Method";
    
      /** The HTTP {@code Authorization} header field name. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  8. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top