Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for Header (0.2 sec)

  1. cmd/test-utils_test.go

    	// Get hashed payload.
    	hashedPayload := req.Header.Get("x-amz-content-sha256")
    	if hashedPayload == "" {
    		return "", fmt.Errorf("Invalid hashed payload")
    	}
    
    	// Set x-amz-date.
    	req.Header.Set("x-amz-date", currTime.Format(iso8601Format))
    
    	// Get header map.
    	headerMap := make(map[string][]string)
    	for k, vv := range req.Header {
    		// If request header key is not in ignored headers, then add it.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    		},
    		{
    			name:  "is-not-missing-2",
    			query: `select * from s3object[*] as s where s.request.header is not missing`,
    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                        && this.sbuf[ 7 ] == (byte) 'B' ) {
                    this.smb2 = true;
                    // also read the rest of the header
                    int lenDiff = Smb2Constants.SMB2_HEADER_LENGTH - SmbConstants.SMB1_HEADER_LENGTH;
                    if ( readn(this.in, this.sbuf, 4 + SmbConstants.SMB1_HEADER_LENGTH, lenDiff) < lenDiff ) {
                        return null;
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  4. cmd/bucket-stats_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *BucketReplicationStat) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // ACK
        peer.acceptFrame() // SYN_STREAM
        peer.sendFrame().headers(false, 3, headerEntries("a", "android"))
        val expectedRequestHeaders =
          listOf(
            Header(Header.TARGET_METHOD, "GET"),
            Header(Header.TARGET_SCHEME, "https"),
            Header(Header.TARGET_AUTHORITY, "squareup.com"),
            Header(Header.TARGET_PATH, "/cached"),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    					case !strict && ver.header.matchesNotStrict(latest.header):
    						latestCount++
    					default:
    						latestCount = 1
    					}
    					latest = ver
    					continue
    				}
    
    				// Mismatch, but older.
    				if latestCount > 0 && !strict && ver.header.matchesNotStrict(latest.header) {
    					latestCount++
    					continue
    				}
    				if latestCount > 0 && ver.header.VersionID == latest.header.VersionID {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  7. cmd/bucket-replication-utils_gen.go

    func (z *MRFReplicateEntries) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "e"
    	o = append(o, 0x82, 0xa1, 0x65)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Entries)))
    	for za0001, za0002 := range z.Entries {
    		o = msgp.AppendString(o, za0001)
    		// map header, size 3
    		// string "b"
    		o = append(o, 0x83, 0xa1, 0x62)
    		o = msgp.AppendString(o, za0002.Bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 61.1K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    		return
    	}
    
    	const mapEntryOverhead = 200
    
    	var (
    		reader        io.Reader
    		fileSize      int64 = -1
    		fileName      string
    		fanOutEntries = make([]minio.PutObjectFanOutEntry, 0, 100)
    	)
    
    	maxParts := 1000
    	// Canonicalize the form values into http.Header.
    	formValues := make(http.Header)
    	for {
    		part, err := mp.NextRawPart()
    		if errors.Is(err, io.EOF) {
    			break
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	},
    	ErrMissingContentLength: {
    		Code:           "MissingContentLength",
    		Description:    "You must provide the Content-Length HTTP header.",
    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrMissingContentMD5: {
    		Code:           "MissingContentMD5",
    		Description:    "Missing required header for this request: Content-Md5.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSecurityHeader: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. cmd/xl-storage-format-v2_gen.go

    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    	o = append(o, 0x80|uint8(zb0001Len))
    	if zb0001Len == 0 {
    		return
    	}
    	if (zb0001Mask & 0x1) == 0 { // if not omitted
    		// string "V2Obj"
    		o = append(o, 0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a)
    		if z.ObjectV2 == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			// map header, size 1
    			// string "DDir"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top