1
0
mirror of https://github.com/strongdm/comply synced 2024-11-17 13:24:53 +00:00
comply/vendor/github.com/kevinburke/rest/CHANGELOG.md

22 lines
522 B
Markdown
Raw Normal View History

## 2.2
Support Bearer authentication.
If the `path` value in `*Client.NewRequest()` begins with `Client.Base` (e.g.
`client.NewRequest("GET", "https://api.github.com"), it will be stripped before
making the request.
## 2.1
Remove Bazel for testing purposes.
## 2.0
- rest.Error.StatusCode has been renamed to rest.Error.Status to match the
change in the accepted RFC.
- rest.Client no longer has a default timeout. Use context.Context to specify
a timeout for HTTP requests.
- Add rest.Gone for 410 responses.