mirror of
https://github.com/strongdm/comply
synced 2024-11-17 05:14:55 +00:00
22 lines
522 B
Markdown
22 lines
522 B
Markdown
|
## 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.
|