Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 907 for Headers (0.06 seconds)

  1. .github/workflows/mint/nginx-4-node.conf

            server minio3:9001;
            server minio4:9001;
        }
    
        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;
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 16:52:29 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  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+.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  3. 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_py310.py hl[14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

            try (ResponseBody responseBody = response.body()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
              for (int i = 0, size = responseHeaders.size(); i < size; i++) {
                System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i));
              }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  5. .github/workflows/mint/nginx-8-node.conf

            server minio7:9001;
            server minio8:9001;
        }
    
        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;
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 15 16:52:29 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.squareup.okhttp3.maventest;
    
    import java.io.IOException;
    
    import okhttp3.Headers;
    import okhttp3.HttpUrl;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. 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*.
    
    Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 559 bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // When remoteAddr is not a trusted proxy, headers should be ignored
            final MockletHttpServletRequest request = getMockRequest();
            request.setRemoteAddr("192.168.1.100");
            request.addHeader("X-Forwarded-For", "203.0.113.50");
            request.addHeader("X-Real-IP", "203.0.113.75");
            // Should return remoteAddr, not the spoofed headers
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. cmd/generic-handlers.go

    			// Make sure we remove any existing headers before
    			// proxying the request to another node.
    			for k := range w.Header() {
    				w.Header().Del(k)
    			}
    			globalForwarder.ServeHTTP(w, r)
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // addCustomHeadersMiddleware adds various HTTP(S) response headers.
    // Security Headers enable various security protections behaviors in the client's browser.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/feature/FeatureInjector.java

            // check to ensure that headers feature does not already exist
            if (setupNodeParent != null) {
                ArrayNode setupNode = (ArrayNode) setupNodeParent.get("setup");
                if (hasFeature(setupNode)) {
                    return setupNodeParent;
                }
            }
            // transform or insert the headers feature into setup/skip/features
            ArrayNode setupNode;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
Back to Top