Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for trailer (0.17 sec)

  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, "")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/archive/tar/format.go

    		return FormatUnknown
    	}
    
    	// Guess the magic values.
    	magic := string(b.toUSTAR().magic())
    	version := string(b.toUSTAR().version())
    	trailer := string(b.toSTAR().trailer())
    	switch {
    	case magic == magicUSTAR && trailer == trailerSTAR:
    		return formatSTAR
    	case magic == magicUSTAR:
    		return FormatUSTAR | FormatPAX
    	case magic == magicGNU && version == versionGNU:
    		return FormatGNU
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. 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)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:31:56 UTC 2024
    - 10.4K bytes
    - Viewed (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";
      /** The HTTP {@code Vary} header field name. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. api/go1.8.txt

    pkg math/rand, type Source64 interface, Seed(int64)
    pkg math/rand, type Source64 interface, Uint64() uint64
    pkg net/http, const TrailerPrefix ideal-string
    pkg net/http, const TrailerPrefix = "Trailer:"
    pkg net/http/httptrace, type ClientTrace struct, TLSHandshakeDone func(tls.ConnectionState, error)
    pkg net/http/httptrace, type ClientTrace struct, TLSHandshakeStart func()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  8. 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 &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    // then this returns an error.
    func (tw *Writer) Close() error {
    	if tw.err == ErrWriteAfterClose {
    		return nil
    	}
    	if tw.err != nil {
    		return tw.err
    	}
    
    	// Trailer: two zero blocks.
    	err := tw.Flush()
    	for i := 0; i < 2 && err == nil; i++ {
    		_, err = tw.w.Write(zeroBlock[:])
    	}
    
    	// Ensure all future actions are invalid.
    	tw.err = ErrWriteAfterClose
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Crawler is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Crawler does not work correctly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top