mirror of
https://github.com/octoleo/restic.git
synced 2025-01-22 22:58:26 +00:00
d8ea10db8c
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.