Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 727 for Headers (0.14 sec)

  1. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

            private String queryString;
            private String servletPath;
            private String method = "GET";
            private String requestURI = "/";
            private final Map<String, String> headers = new java.util.HashMap<>();
    
            public void setQueryString(String queryString) {
                this.queryString = queryString;
            }
    
            public void setServletPath(String servletPath) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

        }
    
        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip, x-gzip, deflate")
        assertThat(recorded.headers["User-Agent"]!!).startsWith("Apache-HttpClient/")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 397 bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        val isUpgradeRequest =
          !hasRequestBody &&
            "upgrade".equals(request.header("Connection"), ignoreCase = true)
        try {
          exchange.writeRequestHeaders(request)
    
          if (hasRequestBody) {
            // If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100
            // Continue" response before transmitting the request body. If we don't get that, return
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/handling-errors.md

    ///
    
    ## Add custom headers { #add-custom-headers }
    
    There are some situations in where it's useful to be able to add custom headers to the HTTP error. For example, for some types of security.
    
    You probably won't need to use it directly in your code.
    
    But in case you needed it for an advanced scenario, you can add custom headers:
    
    {* ../../docs_src/handling_errors/tutorial002.py hl[14] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. cmd/object-lambda-handlers.go

    		UserRequest: levent.UserRequest{
    			URL:     r.URL.String(),
    			Headers: r.Header.Clone(),
    		},
    		UserIdentity: levent.Identity{
    			Type:        "IAMUser",
    			PrincipalID: cred.ParentUser,
    			AccessKeyID: cred.AccessKey,
    		},
    	}
    	return eventData, nil
    }
    
    func fwdHeadersToS3(h http.Header, w http.ResponseWriter) {
    	const trim = "x-amz-fwd-header-"
    	for k, v := range h {
    		if stringsHasPrefixFold(k, trim) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. 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)
  8. maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java

    import mockwebserver3.MockWebServer;
    import okhttp3.Headers;
    import org.junit.Test;
    
    import java.io.IOException;
    
    /**
     * Unit test for simple App.
     */
    public class AppTest {
      private final MockWebServer mockWebServer = new MockWebServer();
    
      @Test
      public void testApp() throws IOException {
        mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!"));
        mockWebServer.start();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. buildscripts/upgrade-tests/nginx.conf

            server minio4:9000;
        }
    
        # main minio
        server {
            listen       9000;
            listen  [::]:9000;
            server_name  localhost;
    
             # To allow special characters in headers
             ignore_invalid_headers off;
             # Allow any size file to be uploaded.
             # Set to a value such as 1000m; to restrict file size to a specific value
             client_max_body_size 0;
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Nov 21 18:41:30 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_1x.md

     * Fix: Drop `Content-Length` header when redirected from POST to GET.
     * Fix: Correctly read cached header entries with malformed header names.
     * Fix: Do not directly support any authentication schemes other than "Basic".
     * Fix: Respect read timeouts on recycled connections.
     * Fix: Transmit multiple cookie values as a single header with delimiter.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top