GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: populate etag / generation / metageneration properties during download by daniellehanks · Pull Request #488 · googleapis/python-storage

This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Conversation

@daniellehanks

@daniellehanks daniellehanks commented Jul 6, 2021 •
edited by tseaver
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Populates additional properties (etag, generation, metageneration) from the corresponding headers (ETag, x-goog-generation, and x-goog-metageneration) during download functions via Blob._extract_headers_from_download.

Additionally, update documentation for running system tests to use Python 3.8 instead of Python 3.7 to align with nox.

Closes #490.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
daniellehanks added 2 commits July 5, 2021 18:15
@daniellehanks
Update system test Python version documentation
e971d34
@daniellehanks
Pipe extra headers through on download
8748034
@daniellehanks
daniellehanks requested review from a team July 6, 2021 00:30
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Jul 6, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 6, 2021
@daniellehanks
Update casing to match spec
9696ae2
This was referenced Jul 6, 2021
Support ETag headers #451
Closed
feat: add support for Etag headers on reads #489
Merged
@tseaver tseaver changed the title Populate headers on download fix: populate etag / generation / metageneration properties during download Jul 6, 2021
tseaver
tseaver suggested changes Jul 6, 2021
View reviewed changes

@tseaver tseaver left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much for the patch!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread CONTRIBUTING.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 6, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 6, 2021
tseaver
tseaver approved these changes Jul 6, 2021
View reviewed changes
@tseaver
tseaver merged commit 49ba14c into googleapis:master Jul 6, 2021
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jul 8, 2021
@daniellehanks
feat: add support for Etag headers on reads (#489)
741d3fd
Support conditional requests based on ETag for read operations (`reload`, `exists`, `download_*`). My own testing seems to indicate that the JSON API does not support ETag If-Match/If-None-Match headers on modify requests (`patch`, `delete`, etc.), please correct me if I am mistaken.

This part two of #451. Part one in #488.
Fixes #451 🦕
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@daniellehanks @cojenco
fix: populate etag / generation / metageneration properties during do…
e8ca41d
…wnload (googleapis#488)

Populate properties during download functions via Blob._extract_headers_from_download.

Additionally, update documentation for running system tests to use Python 3.8 instead of Python 3.7 to align with nox.

Closes googleapis#490.
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@daniellehanks @cojenco
feat: add support for Etag headers on reads (googleapis#489)
44b12a9
Support conditional requests based on ETag for read operations (`reload`, `exists`, `download_*`). My own testing seems to indicate that the JSON API does not support ETag If-Match/If-None-Match headers on modify requests (`patch`, `delete`, etc.), please correct me if I am mistaken.

This part two of googleapis#451. Part one in googleapis#488.
Fixes googleapis#451 🦕
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@daniellehanks @cojenco
fix: populate etag / generation / metageneration properties during do…
52d896c
…wnload (googleapis#488)

Populate properties during download functions via Blob._extract_headers_from_download.

Additionally, update documentation for running system tests to use Python 3.8 instead of Python 3.7 to align with nox.

Closes googleapis#490.
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@daniellehanks @cojenco
feat: add support for Etag headers on reads (googleapis#489)
b0a9d58
Support conditional requests based on ETag for read operations (`reload`, `exists`, `download_*`). My own testing seems to indicate that the JSON API does not support ETag If-Match/If-None-Match headers on modify requests (`patch`, `delete`, etc.), please correct me if I am mistaken.

This part two of googleapis#451. Part one in googleapis#488.
Fixes googleapis#451 🦕
@release-please release-please Bot mentioned this pull request Jan 12, 2022
chore(main): release 3.0.0 #688
Closed
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Mar 9, 2026
@daniellehanks
feat: add support for Etag headers on reads (#489)
5999fe3
Support conditional requests based on ETag for read operations (`reload`, `exists`, `download_*`). My own testing seems to indicate that the JSON API does not support ETag If-Match/If-None-Match headers on modify requests (`patch`, `delete`, etc.), please correct me if I am mistaken.

This part two of #451. Part one in googleapis/python-storage#488.
Fixes #451 🦕
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@tseaver tseaver tseaver approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: storage Issues related to the googleapis/python-storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Downloads do not populate properties from all headers

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@daniellehanks @tseaver @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.