Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While the docker cli may be sending a "version" header, this header is not part of the API, or at least should not determin what API version is used. This code was added in c0afd9c, to adjust the handling of requests when an older version of the API was used, but because the code relied on the "version" header set by the CLI, it didn't work with other clients (e.g. when using cURL to make an API request). Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information