Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for encodeResponseJSON (0.12 sec)

  1. cmd/api-response.go

    	// Generate error response.
    	errorResponse := getAPIErrorResponse(ctx, err, reqURL.Path, w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    	encodedErrorResponse := encodeResponseJSON(errorResponse)
    	writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeJSON)
    }
    
    // writeCustomErrorResponseJSON - similar to writeErrorResponseJSON,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top