Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 688 for header1 (0.34 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/reqheader/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing request header configurations in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing request header entries,
     * including tracking information for optimistic locking and audit trails.
     * Request headers are used to customize HTTP requests sent during web crawling operations.
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

            .url(server.url("/"))
            .header("Accept", "text/plain")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("hello, OkHttp")
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

            headers = Headers.headersOf("content-type", "application/json"),
          ),
        )
        server.enqueue(
          MockResponse(
            body =
              """
              |data: hey
              |
              |
              """.trimMargin(),
            headers = Headers.headersOf("content-type", "text/event-stream"),
          ),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

            Request(
              url = "https://url-host.com:${server.port}/".toHttpUrl(),
              headers = headersOf("Host", "header-host"),
            ),
          )
        val response = call.execute()
        assertThat(response.isSuccessful).isTrue()
    
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.url.host).isEqualTo("header-host")
    
        // https://github.com/bcgit/bc-java/issues/1773
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/resources/fess_config.properties

    api.search.accept.referers=
    # Whether to enable scroll for API search.
    api.search.scroll=false
    # Headers for API JSON response.
    api.json.response.headers=Referrer-Policy:strict-origin-when-cross-origin
    # Whether to include exceptions in API JSON response.
    api.json.response.exception.included=false
    # Headers for API GSA response.
    api.gsa.response.headers=Referrer-Policy:strict-origin-when-cross-origin
    # Whether to include exceptions in API GSA response.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Mock getHeaderFields to return our headers
            Map<String, List<String>> allHeaders = headers != null ? new HashMap<>(headers) : new HashMap<>();
            allHeaders.put(null, Collections.singletonList(statusLine)); // Status line
            when(conn.getHeaderFields()).thenReturn(allHeaders);
    
            // Mock individual header access by both string key and index
            if (headers != null) {
                // Mock by header name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        }
      }
    
      private fun headersToList(response: MockResponse): List<String> {
        val headers = response.headers
        val size = headers.size
        val headerList: MutableList<String> = ArrayList(size)
        for (i in 0 until size) {
          headerList.add(headers.name(i) + ": " + headers.value(i))
        }
        return headerList
      }
    
      @Test
      fun shutdownWithoutStart() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. CHANGELOG.md

    
    ## Version 5.0.0-alpha.3
    
    _2021-11-22_
    
     *  Fix: Change `Headers.toString()` to redact authorization and cookie headers.
     *  Fix: Don't do DNS to get the hostname for `RecordedRequest.requestUrl`. This was doing a DNS
        lookup for the local hostname, but we really just wanted the `Host` header.
     *  Fix: Don't crash with a `InaccessibleObjectException` when detecting the platform trust manager
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            return asStream(id)//
                    .header("Pragma", "no-cache")//
                    .header("Cache-Control", "no-cache")//
                    .header("Expires", "Thu, 01 Dec 1994 16:00:00 GMT")//
                    .header("Content-Type", "application/x-ndjson")//
                    .stream(out -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
Back to top