mirror of
https://github.com/glanceapp/glance.git
synced 2024-11-22 08:23:52 +01:00
Increase max body length
This commit is contained in:
parent
2eb8e71e89
commit
78572a534b
@ -54,7 +54,7 @@ func decodeJsonFromRequest[T any](client RequestDoer, request *http.Request) (T,
|
|||||||
"unexpected status code %d for %s, response: %s",
|
"unexpected status code %d for %s, response: %s",
|
||||||
response.StatusCode,
|
response.StatusCode,
|
||||||
request.URL,
|
request.URL,
|
||||||
truncateString(string(body), 128),
|
truncateString(string(body), 256),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ func decodeXmlFromRequest[T any](client RequestDoer, request *http.Request) (T,
|
|||||||
"unexpected status code %d for %s, response: %s",
|
"unexpected status code %d for %s, response: %s",
|
||||||
response.StatusCode,
|
response.StatusCode,
|
||||||
request.URL,
|
request.URL,
|
||||||
truncateString(string(body), 128),
|
truncateString(string(body), 256),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user