mirror of
https://github.com/restic/restic.git
synced 2024-12-25 17:27:25 +00:00
d4aadfa389
This package is no longer needed, since we can use the stdlib's http.NewRequestWithContext. backend/rclone already did, but it needed a different error check due to a difference between net/http and ctxhttp. Also, store the http.Client by value in the REST backend (changed to a pointer when ctxhttp was introduced) and use errors.WithStack instead of errors.Wrap where the message was no longer accurate. Errors from http.NewRequestWithContext will start with "net/http" or "net/url", so they're easy to identify. |
||
---|---|---|
.. | ||
azure | ||
b2 | ||
dryrun | ||
gs | ||
limiter | ||
local | ||
location | ||
mem | ||
mock | ||
rclone | ||
rest | ||
s3 | ||
sema | ||
sftp | ||
swift | ||
test | ||
testdata | ||
backend_error.go | ||
backend_retry.go | ||
backend_retry_test.go | ||
doc.go | ||
errdot_119.go | ||
errdot_old.go | ||
foreground.go | ||
foreground_sysv.go | ||
foreground_test.go | ||
foreground_unix.go | ||
foreground_windows.go | ||
http_transport.go | ||
layout.go | ||
layout_default.go | ||
layout_rest.go | ||
layout_s3legacy.go | ||
layout_test.go | ||
paths.go | ||
readerat.go | ||
shell_split.go | ||
shell_split_test.go | ||
utils.go | ||
utils_test.go |