Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fwdStatusToAPIError (0.17 sec)

  1. cmd/object-lambda-handlers.go

    	const trim = "x-amz-fwd-header-"
    	for k, v := range h {
    		if stringsHasPrefixFold(k, trim) {
    			w.Header()[k[len(trim):]] = v
    		}
    	}
    }
    
    func fwdStatusToAPIError(resp *http.Response) *APIError {
    	if status := resp.Header.Get(xhttp.AmzFwdStatus); status != "" && StatusCode(status) > -1 {
    		apiErr := &APIError{
    			HTTPStatusCode: StatusCode(status),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
Back to top