Skip to content

fix: update User-Agent handling for resumable uploads#2168

Merged
BenWhitehead merged 1 commit intomainfrom
broken-ua
Aug 23, 2023
Merged

fix: update User-Agent handling for resumable uploads#2168
BenWhitehead merged 1 commit intomainfrom
broken-ua

Conversation

@BenWhitehead
Copy link
Copy Markdown
Collaborator

The apiary library manually injects ApplicationName into each request it constructs. For resumable uploads (start and PUTs) we are using the apiary clients http client directly. Update our registered interceptor to add the user-agent if it is null.

Fixes b/294437023

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label Aug 16, 2023
@BenWhitehead BenWhitehead requested a review from a team August 16, 2023 22:51
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels Aug 16, 2023
The apiary library manually injects ApplicationName into each request it constructs. For resumable uploads (start and PUTs) we are using the apiary clients http client directly. Update our registered interceptor to add the user-agent if it is null.
Copy link
Copy Markdown
Contributor

@sydney-munro sydney-munro left a comment

Choose a reason for hiding this comment

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

LGTM

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. owlbot:ignore instruct owl-bot to ignore a PR size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants