mirror of https://github.com/restic/restic.git
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. |
||
---|---|---|
.. | ||
config.go | ||
config_test.go | ||
rest.go | ||
rest_int_go114_test.go | ||
rest_int_test.go | ||
rest_test.go |