Files
docker-cli/components/engine/api/server/middleware
Sebastiaan van Stijn f8ec7d1b83 Always return version and server headers
If a 400 error is returned due to an API version mismatch, no
version and server-identification headers were returned by the API.

All information in these headers is "static", so there is no
reason to omit the information in case of an error being
returned.

This patch updates the version middleware to always
return the headers.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: e9dac5ef5e8a4b0ecce0c89d337fea90f2c6aef3
Component: engine
2017-10-11 22:06:43 +02:00
..
2017-07-31 13:16:46 -07:00
2017-07-31 13:16:46 -07:00
2016-04-11 09:19:27 -07:00