increase limit of response body
This commit is contained in:
parent
b47f23f524
commit
038535ea9a
@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const MB = 1 << 20
|
const MB = 1 << 20
|
||||||
const LimitResponse = 3 * MB
|
const LimitResponse = 25 * MB
|
||||||
|
|
||||||
func buildLimitedRawResponse(resp *http.Response) ([]byte, error) {
|
func buildLimitedRawResponse(resp *http.Response) ([]byte, error) {
|
||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
|
Loading…
Reference in New Issue
Block a user