Set User-Agent string for HTTP requests #3788
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
(not sure: you could argue this is a regression...)
Description
podman does not set user agent string on HTTP requests. Therefore the default will be used:
Steps to reproduce the issue:
Additional information you deem important (e.g. issue happens only occasionally):
I root caused why
docker pull repo/path:tag
worked with our internal docker repository, butpodman pull repo/path:tag
didn't. Our setup uses a nginx reverse proxy that only forwards requests tohttps://repo:443/...
if theUser-Agent
string matches the patterndocker
, e.g.docker/1.13
. After changing the pattern to(docker|Go-http-client)
the problem went away.But the generic
Go-http-client/1.1
isn't really useful for filtering and it is a regression when compared to docker. Some suggestions how to solve this:docker/1.13 (podman)
.podman/1.4.4
. This would allow people to update they filters properly.Output of
podman version
:The text was updated successfully, but these errors were encountered: