Skip to content

No validation for request etags #1081

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

Merged
merged 2 commits into from
Sep 1, 2017
Merged

Conversation

chrisdunelm
Copy link
Contributor

Some Google services use non-compliant etags, so we need to (temporarily) not validate etags in HTTP requests.

Fixes #464

Some Google services use non-compliant etags, so we need to (temporarily) not validate etags in HTTP requests.

Fixes googleapis#464
@chrisdunelm chrisdunelm requested a review from jskeet August 31, 2017 16:58
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 31, 2017
Logger.Error(ex, "Can't set {0}. Etag is: {1}.", action, etag);
case ETagAction.IfMatch:
//request.Headers.IfMatch.Add(new EntityTagHeaderValue(etag));
request.Headers.TryAddWithoutValidation("If-Match", etag);

This comment was marked as spam.

This comment was marked as spam.

@chrisdunelm chrisdunelm merged commit ea19a4f into googleapis:master Sep 1, 2017
@chrisdunelm chrisdunelm deleted the etag branch September 1, 2017 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants