KEMBAR78
feat: fix signed url mismatch in BlobWriteChannel by JesseLovelace · Pull Request #915 · googleapis/java-storage · GitHub
Skip to content

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 a team and BenWhitehead 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 No newline at end of file
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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