Skip to content

feat: fix signed url mismatch in BlobWriteChannel#915

Merged
JesseLovelace merged 2 commits intomasterfrom
issue823
Jul 12, 2021
Merged

feat: fix signed url mismatch in BlobWriteChannel#915
JesseLovelace merged 2 commits intomasterfrom
issue823

Conversation

@JesseLovelace
Copy link
Copy Markdown
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
@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
Copy Markdown
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

Comment thread logging.properties Outdated
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
Copy Markdown
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
Copy Markdown
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
🤖 I have created a release \*beep\* \*boop\*
---
## [1.118.0](https://www.github.com/googleapis/java-storage/compare/v1.117.1...v1.118.0) (2021-07-13)


### Features

* fix signed url mismatch in BlobWriteChannel ([#915](https://www.github.com/googleapis/java-storage/issues/915)) ([8b05867](https://www.github.com/googleapis/java-storage/commit/8b0586757523cfc550c62ff264eea3eebbd7f32e))


### Bug Fixes

* correct lastChunk retry logic in BlobWriteChannel ([#918](https://www.github.com/googleapis/java-storage/issues/918)) ([ab0228c](https://www.github.com/googleapis/java-storage/commit/ab0228c95df831d79f4a9c993908e5700dab5aa7))


### Dependencies

* update dependency com.google.apis:google-api-services-storage to v1-rev20210127-1.32.1 ([#910](https://www.github.com/googleapis/java-storage/issues/910)) ([2c54acc](https://www.github.com/googleapis/java-storage/commit/2c54acca0653a96773ab3606a8d97299e9fdf045))
* update kms.version to v0.90.0 ([#911](https://www.github.com/googleapis/java-storage/issues/911)) ([1050725](https://www.github.com/googleapis/java-storage/commit/1050725c91b4375340ba113568ba04538c7f52fc))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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