2022-11-29 04:38:26PM
This commit is contained in:
parent
a8b011c7fd
commit
a295af23e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue