Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 360 for Trailer (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/streaming-signature-v4.go

    func newSignV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	cred, seedSignature, region, seedDate, errCode := calculateSeedSignature(req, trailer)
    	if errCode != ErrNone {
    		return nil, errCode
    	}
    
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        @DisplayName("writeWireFormat should write header and trailer")
        void testWriteWireFormat() {
            packet.type = SessionServicePacket.SESSION_MESSAGE;
            packet.trailerLength = 10; // Mock trailer will write 10 bytes
    
            byte[] dst = new byte[50];
            int totalWritten = packet.writeWireFormat(dst, 0);
    
            assertEquals(14, totalWritten); // 4 header + 10 trailer
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  3. internal/hash/reader.go

    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    		return ErrInvalidChecksum
    	}
    	if cs == nil {
    		return nil
    	}
    	r.contentHash = *cs
    	if cs.Type.Trailing() {
    		r.trailer = req.Trailer
    	}
    	return r.AddNonTrailingChecksum(cs, ignoreValue)
    }
    
    // AddChecksumNoTrailer will add checksum checks as specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. internal/http/headers.go

    	AmzCredential           = "X-Amz-Credential"
    	AmzSecurityToken        = "X-Amz-Security-Token"
    	AmzDecodedContentLength = "X-Amz-Decoded-Content-Length"
    	AmzTrailer              = "X-Amz-Trailer"
    	AmzMaxParts             = "X-Amz-Max-Parts"
    	AmzPartNumberMarker     = "X-Amz-Part-Number-Marker"
    
    	// Constants used for GetObjectAttributes and GetObjectVersionAttributes
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. internal/hash/checksum.go

    // If checksum was trailing, they must have been added to r.Trailer.
    func TransferChecksumHeader(w http.ResponseWriter, r *http.Request) {
    	c, err := GetContentChecksum(r.Header)
    	if err != nil || c == nil {
    		return
    	}
    	t, s := c.Type, c.Encoded
    	if !c.Type.IsSet() {
    		return
    	}
    	if c.Type.Is(ChecksumTrailing) {
    		val := r.Trailer.Get(t.Key())
    		if val != "" {
    			w.Header().Set(t.Key(), val)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/HttpHeaders.java

       * Timing-Allow-Origin}</a> header field name.
       *
       * @since 15.0
       */
      public static final String TIMING_ALLOW_ORIGIN = "Timing-Allow-Origin";
    
      /** The HTTP {@code Trailer} header field name. */
      public static final String TRAILER = "Trailer";
    
      /** The HTTP {@code Transfer-Encoding} header field name. */
      public static final String TRANSFER_ENCODING = "Transfer-Encoding";
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 27 20:37:16 GMT 2025
    - 35.4K bytes
    - Click Count (0)
  7. cmd/auth-handler.go

    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256Trailer &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4', with unsigned content and trailer.
    func isRequestUnsignedTrailerV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == unsignedPayloadTrailer &&
    		r.Method == http.MethodPut
    }
    
    // Authorization type.
    //
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. cmd/server_test.go

    	req, err := http.NewRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, "test-cve-object.txt"), nil)
    	c.Assert(err, nil)
    
    	req.Body = io.NopCloser(bytes.NewReader([]byte("foobar!\n")))
    	req.Trailer = http.Header{}
    	req.Trailer.Set("x-amz-checksum-crc32", "rK0DXg==")
    
    	now := UTCNow()
    
    	req = signer.StreamingUnsignedV4(req, "", 8, now)
    
    	maliciousHeaders := http.Header{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

     * </pre>
     */
    public class Crawler {
    
        /**
         * Creates a new instance of Crawler.
         */
        public Crawler() {
            // Default constructor
        }
    
        /** Logger instance for this class. */
        private static final Logger logger = LogManager.getLogger(Crawler.class);
    
        /** Thread name for web and file system crawling process. */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        OkHttpClient client = new OkHttpClient.Builder()
            .cache(cache)
            .callTimeout(5, TimeUnit.SECONDS)
            .build();
    
        Crawler crawler = new Crawler(client, queueLimit, hostLimit);
        crawler.queue.add(HttpUrl.get(args[1]));
        crawler.parallelDrainQueue(threadCount);
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top