2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 04:32:40 +00:00
restic/internal/backend/rest
Nick Craig-Wood 04c4033695 backend/rest: check HTTP error response for List
Before this change restic would attempt to JSON decode the error
message resulting in confusing `Decode: invalid character 'B' looking
for beginning of value` messages.  Afterwards it will return `List
failed, server response: 400 Bad Request (400)`
2018-03-08 10:22:43 +00:00
..
config_test.go Moves files 2017-07-23 14:19:13 +02:00
config.go Run goimports 2017-07-23 14:21:03 +02:00
rest_int_test.go backend/rest: Implement REST API v2 2018-01-23 23:15:26 +01:00
rest_test.go Read TLS client cert and key from the same file 2018-01-27 14:02:01 +01:00
rest.go backend/rest: check HTTP error response for List 2018-03-08 10:22:43 +00:00