(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func TestHTTPErrorResponseWithMaxContentLength(t *testing.T) { |
| 35 | body := make([]rune, maxRequestContentLength+1) |
| 36 | testHTTPErrorResponse(t, |
| 37 | http.MethodPost, contentType, string(body), http.StatusRequestEntityTooLarge) |
| 38 | } |
| 39 | |
| 40 | func TestHTTPErrorResponseWithEmptyContentType(t *testing.T) { |
| 41 | testHTTPErrorResponse(t, http.MethodPost, "", "", http.StatusUnsupportedMediaType) |
nothing calls this directly
no test coverage detected