Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/api-response.go

    	}
    	deleteResp.Errors = errs
    	return deleteResp
    }
    
    func writeResponse(w http.ResponseWriter, statusCode int, response []byte, mType mimeType) {
    	if statusCode == 0 {
    		statusCode = 200
    	}
    	// Similar check to http.checkWriteHeaderCode
    	if statusCode < 100 || statusCode > 999 {
    		bugLogIf(context.Background(), fmt.Errorf("invalid WriteHeader code %v", statusCode))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
Back to top