forked from jackass0528/google-api-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google-api-go-client: add If-None-Match support
Fixes googleapis#86. Note that examples/storage.go demonstrates the use of the new If-None-Match support. Additionally, this change allows the headers of all responses to be inspected so that "ETag", for example, could be extracted from the response. This could be especially useful for the Compute API and other APIs that do not explicitly return ETag within the body of their responses. Note also that examples/compute.go now demonstrates the use of the new googleapi.ServiceResponse and "ETag" extraction from the header. Change-Id: Ic6fc35c6bdd4aca87ba0ee51b59f94b8de34d5ea Reviewed-on: https://code-review.googlesource.com/3375 Reviewed-by: Glenn Lewis <[email protected]>
- Loading branch information
Showing
143 changed files
with
92,203 additions
and
2,988 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.