summaryrefslogtreecommitdiff
path: root/vendor/github.com/inconshreveable/mousetrap/trap_others.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-08-09 09:19:21 -0700
committerJhon Honce <jhonce@redhat.com>2021-08-11 13:50:51 -0700
commit5a32946d61fd282d0801208ae414111626c79768 (patch)
treeda2f86d0f9b2fd7997a02cbdb853874e47dbdeeb /vendor/github.com/inconshreveable/mousetrap/trap_others.go
parent7e5a9fdbc0131a2715e9a6d5612e65fb7323c50b (diff)
downloadpodman-5a32946d61fd282d0801208ae414111626c79768.tar.gz
podman-5a32946d61fd282d0801208ae414111626c79768.tar.bz2
podman-5a32946d61fd282d0801208ae414111626c79768.zip
For compatibility, ignore Content-Type
Endpoint /build logs an info entry when a client uses the wrong Content-Type for build payload. Given Content-Type is ignored and assumed to be "application/x-tar". Endpoint /libpod/build will fail unless "application/x-tar" or "application/tar" is given for Content-Type. "application/tar" will be logged as an info entry. Fixes #11012 Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'vendor/github.com/inconshreveable/mousetrap/trap_others.go')
0 files changed, 0 insertions, 0 deletions