Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: fix signed url mismatch in BlobWriteChannel #915

Merged
merged 2 commits into from
Jul 12, 2021
Merged

Conversation

JesseLovelace
Copy link
Contributor

Use of the "x-goog-api-client" header when created a BlobWriteChannel for a signed url causes a mismatch with URLs generated outside that specific instance of the java client library, removing it makes sense for the intended usage of signed URLs.

Fixes #823

@JesseLovelace JesseLovelace requested review from BenWhitehead and a team July 8, 2021 22:17
@JesseLovelace JesseLovelace requested a review from a team as a code owner July 8, 2021 22:17
@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/java-storage API. label Jul 8, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 8, 2021
Copy link
Collaborator

@BenWhitehead BenWhitehead left a comment

Choose a reason for hiding this comment

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

ready to merge after cleaning up logging.propeties

java.util.logging.ConsoleHandler.level = CONFIG

# Set up logging of HTTP requests and responses (uncomment "level" to show)
com.google.api.client.http.level = CONFIG
Copy link
Collaborator

Choose a reason for hiding this comment

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

Leftover file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup! Oops

@JesseLovelace JesseLovelace merged commit 8b05867 into master Jul 12, 2021
@JesseLovelace JesseLovelace deleted the issue823 branch July 12, 2021 16:50
gcf-merge-on-green bot pushed a commit that referenced this pull request Jul 13, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
api: storage Issues related to the googleapis/java-storage API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Client Library should stop sending x-goog-api-client, which otherwise needs to be included in a signed URL
2 participants