Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Reaber (0.23 sec)

  1. cmd/erasure-object.go

    }
    
    // GetObjectNInfo - returns object info and an object
    // Read(Closer). When err != nil, the returned reader is always nil.
    func (er erasureObjects) GetObjectNInfo(ctx context.Context, bucket, object string, rs *HTTPRangeSpec, h http.Header, opts ObjectOptions) (gr *GetObjectReader, err error) {
    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	var unlockOnDefer bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  2. 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)
  3. cmd/common-main.go

    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    
    	ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.ReadHeaderTimeout = ctx.Duration("read-header-timeout")
    	ctxt.MaxIdleConnsPerHost = ctx.Int("max-idle-conns-per-host")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  4. cmd/httprange_test.go

    		if err != nil && !testCase.errExpected || err == nil && testCase.errExpected {
    			t.Errorf("expected error with invalid range: %v", err)
    		}
    		if h != testCase.spec {
    			t.Errorf("Case %d: translated to incorrect header: %s expected: %s",
    				i, h, testCase.spec)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. cmd/object-api-errors.go

    func (e AllAccessDisabled) Error() string {
    	return "All access to this object has been disabled"
    }
    
    // IncompleteBody You did not provide the number of bytes specified by the Content-Length HTTP header.
    type IncompleteBody GenericError
    
    // Error returns string an error formatted as the given text.
    func (e IncompleteBody) Error() string {
    	return e.Bucket + "/" + e.Object + " has incomplete body"
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf))
    	if err != nil {
    		return err
    	}
    
    	if token != "" {
    		req.Header.Set("Authorization", token)
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. cmd/httprange.go

    		return 0, 0, err
    	}
    
    	start = h.Start
    	if h.IsSuffixLength {
    		start = resourceSize + h.Start
    		if start < 0 {
    			start = 0
    		}
    	}
    	return start, length, nil
    }
    
    // Parse a HTTP range header value into a HTTPRangeSpec
    func parseRequestRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) {
    	// Return error if given range string doesn't start with byte range prefix.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top