-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set explicit User-Agent string when accessing S3 #1353
Comments
@dmp42 So, this should be set in the S3 library? |
Yeah, I'm trying to see if there's any extensible way to modify the S3 client through the goamz library that would enable a change like this, would have to modify the http Client/Transport found here: https://github.com/AdRoll/goamz/blob/master/s3/s3.go#L1165 |
Read over the v4 auth documentation and only the |
@BrianBland The only way to fix this would probably to refactor goamz to allow injection of an |
+1. Do it! On Tue, Jan 19, 2016 at 3:56 PM, Stephen Day notifications@github.com
|
Implemented. |
Using a distinctive UA string containing the registry version + go version would help debugging (distinguish registry queries from other systems accessing the bucket).
That UA string should be set only for the registry, and not for distribution as a library.
cc @RichardScothern
The text was updated successfully, but these errors were encountered: