1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/middleware
Mike Goelzer d1502afb63 Pass upstream client's user agent through to registry on image pulls
Changes how the Engine interacts with Registry servers on image pull.
Previously, Engine sent a User-Agent string to the Registry server
that included only the Engine's version information.  This commit
appends to that string the fields from the User-Agent sent by the
client (e.g., Compose) of the Engine.  This allows Registry server
operators to understand what tools are actually generating pulls on
their registries.

Signed-off-by: Mike Goelzer <mgoelzer@docker.com>
2016-03-20 04:30:09 -07:00
..
authorization.go Make server middleware standalone functions. 2016-02-24 14:48:52 -05:00
cors.go Make server middleware standalone functions. 2016-02-24 14:48:52 -05:00
debug.go api: server: server: remove redunant debugf 2016-03-07 09:03:29 +01:00
middleware.go fix typos 2016-03-06 00:59:11 +08:00
user_agent.go Pass upstream client's user agent through to registry on image pulls 2016-03-20 04:30:09 -07:00
version.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00
version_test.go Remove static errors from errors package. 2016-02-26 15:49:09 -05:00