Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 328 for Header (4.24 sec)

  1. cmd/site-replication-metrics_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "LastHour"
    	o = append(o, 0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72)
    	o, err = z.LastHour.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "LastHour")
    		return
    	}
    	// string "SinceUptime"
    	o = append(o, 0xab, 0x53, 0x69, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65)
    	// map header, size 2
    	// string "Count"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  2. internal/s3select/message.go

    //
    // Header specification:
    // Continuation messages contain two headers, as follows:
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png
    //
    // Payload specification:
    // Continuation messages have no payload.
    var continuationMessage = []byte{
    	0, 0, 0, 57, // total byte-length.
    	0, 0, 0, 41, // headers byte-length.
    	139, 161, 157, 242, // prelude crc.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  3. internal/event/target/webhook.go

    	// already present we can blindly use the
    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    	req.Header.Set("Content-Type", "application/json")
    
    	resp, err := target.httpClient.Do(req)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. internal/config/identity/openid/provider/keycloak.go

    	k.Lock()
    	accessToken := k.accessToken
    	k.Unlock()
    	if accessToken.AccessToken == "" {
    		return User{}, ErrAccessTokenExpired
    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    	switch resp.StatusCode {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-meta-inline.go

    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz+1)
    	vals := make([][]byte, 0, sz+1)
    
    	// Version plus header...
    	plSize := 1 + msgp.MapHeaderSize
    	replaced := false
    	for i := uint32(0); i < sz; i++ {
    		var found, foundVal []byte
    		var err error
    		found, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/data-usage-cache_gen.go

    func (z *allTierStats) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "ts"
    	o = append(o, 0x81, 0xa2, 0x74, 0x73)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Tiers)))
    	for za0001, za0002 := range z.Tiers {
    		o = msgp.AppendString(o, za0001)
    		// map header, size 3
    		// string "ts"
    		o = append(o, 0x83, 0xa2, 0x74, 0x73)
    		o = msgp.AppendUint64(o, za0002.TotalSize)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  9. docs/extensions/s3zip/examples/minio-go/main.go

    		Creds: credentials.NewStaticV4("access-key", "secret-key", ""),
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	var opts minio.GetObjectOptions
    
    	// Add extract header to request:
    	opts.Set("x-minio-extract", "true")
    
    	// Download API.md from the archive
    	rd, err := s3Client.GetObject(context.Background(), "your-bucket", "path/to/file.zip/data.csv", opts)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 14 18:04:14 GMT 2021
    - 694 bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt.go

    		"RS3256", "RS3384", "RS3512",
    		"ES3256", "ES3384", "ES3512",
    	}
    
    	keyFuncCallback := func(jwtToken *jwtgo.Token) (interface{}, error) {
    		kid, ok := jwtToken.Header["kid"].(string)
    		if !ok {
    			return nil, fmt.Errorf("Invalid kid value %v", jwtToken.Header["kid"])
    		}
    		return r.pubKeys.get(kid), nil
    	}
    
    	pCfg, ok := r.arnProviderCfgsMap[arn]
    	if !ok {
    		return fmt.Errorf("Role %s does not exist", arn)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 8.3K bytes
    - Viewed (5)
Back to top