AbstractGoogleClientRequest.initializeMediaUpload is not using applicationName to User-Agent HTTP header #2222
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Internal bug b/252963877. mediaHttpUploader is not adding a proper User-Agent HTTP header.
Environment details
General, Core, and Other are also allowed as types
The
com.google.apis:google-api-services-storage:v1-rev20220705-2.0.0
andgoogle-api-client:2.0.0
.Steps to reproduce
Declare dependencies:
Code example
This does not send the user agent to the server.
External references such as API reference guides
Any additional information below
Internal bug b/252963877.
Setting request initializer as the 3rd argument to
Storage.Builder
is the workaround:But the library users shouldn't need to do that.
The text was updated successfully, but these errors were encountered: