mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e9dac5ef5e
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> |
||
---|---|---|
.. | ||
cors.go | ||
debug.go | ||
debug_test.go | ||
experimental.go | ||
middleware.go | ||
version.go | ||
version_test.go |