mirror of
https://github.com/moby/moby.git
synced 2026-07-12 10:35:14 +00:00
Go automatically canonicalises HTTP headers, meaning the string `API-Version` passed as a header has always been returned as `Api-Version`. Similarly, `OSType` is returned as `Ostype`. This commit updates the documentation to reflect this behaviour and modifies the codebase to ensure that input strings are aligned with their canonical output values. Signed-off-by: maggie44 <64841595+maggie44@users.noreply.github.com>