Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If-None-Match on non-GET APIs? #107

Closed
bradfitz opened this issue Sep 29, 2015 · 2 comments
Closed

If-None-Match on non-GET APIs? #107

bradfitz opened this issue Sep 29, 2015 · 2 comments
Assignees
Labels
type: question Request for information or clarification. Not an issue.

Comments

@bradfitz
Copy link
Contributor

Do any Google APIs support If-None-Match on non-GET method calls?

e.g. should we include methods like:

func (c *ArchiveInsertCall) IfNoneMatch(entityTag string) *ArchiveInsertCall {

?

I think we won't for now, but add them if we find a supporting example, even if it's just a single API.

The spec (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html) section 14.26 says it's also meant for PUT, etc. But does Google do that anywhere?

Related to issue #86 (ETag, etc)
/cc @gmlewis @mcgreevy @imjasonh

@mcgreevy
Copy link
Contributor

The case that immediately came to mind was cloud storage, but they have custom in-band mechanisms for this kind of thing https://cloud.google.com/storage/docs/json_api/v1/objects/update#ifGenerationNotMatch

@JustinBeckwith JustinBeckwith added the type: question Request for information or clarification. Not an issue. label Jun 7, 2018
@jba
Copy link
Contributor

jba commented Jun 7, 2018

These clients are in maintenance mode. We don't plan to address this issue.

@pongad for the next generation of clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

5 participants