Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for addHeader (0.04 sec)

  1. okhttp/api/okhttp.api

    	public fun toString ()Ljava/lang/String;
    	public final fun url ()Lokhttp3/HttpUrl;
    }
    
    public class okhttp3/Request$Builder {
    	public fun <init> ()V
    	public fun addHeader (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Request$Builder;
    	public fun build ()Lokhttp3/Request;
    	public fun cacheControl (Lokhttp3/CacheControl;)Lokhttp3/Request$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      fun gzippedResponseBody(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Content-Encoding: gzip")
            .body(gzip("ABCABCABC"))
            .build(),
        )
        val call = client.newCall(Request(server.url("/r1")))
        val response = call.execute()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/extensions/s3zip/examples/boto3/main.py

            aws_secret_access_key='YOUR-SECRETACCESSKEY',
            config=Config(signature_version='s3v4'),
            region_name='us-east-1')
    
    
    def _add_header(request, **kwargs):
        request.headers.add_header('x-minio-extract', 'true')
    event_system = s3.meta.events
    event_system.register_first('before-sign.s3.*', _add_header)
    
    # List zip contents
    response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 04 21:15:45 UTC 2021
    - 771 bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                afterSessionStart(session);
            } catch (MavenExecutionException e) {
                return addExceptionToResult(result, e);
            }
    
            try {
                chainedWorkspaceReader.addReader(lookup.lookup(WorkspaceReader.class, ReactorReader.HINT));
            } catch (LookupException e) {
                return addExceptionToResult(result, e);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
Back to top