2022-11-29 04:38:26PM

This commit is contained in:
Alexander Wang 2022-11-29 16:38:26 -08:00
parent a8b011c7fd
commit a295af23e0
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -121,7 +121,7 @@ width="328" height="587" viewBox="-100 -131 328 587"><style type="text/css">
// Test almost too large response
transport = roundTripFunc(func(req *http.Request) *http.Response {
respRecorder := httptest.NewRecorder()
bytes := make([]byte, maxImageSize-1)
bytes := make([]byte, maxImageSize)
rand.Read(bytes)
respRecorder.Write(bytes)
respRecorder.WriteHeader(200)