mirror of
https://github.com/restic/restic.git
synced 2025-03-13 19:52:20 +00:00

Add comment that the check is based on the stdlib HTTP2 client. Refactor the checks into a function. Return an error if the value in the Content-Length header cannot be parsed.