net/http: DetectContentType returns 'application/octet-stream' for a TIFF image #61504
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
run
net/http.DetectContentType
on the raw bytes of a TIFF image.What did you expect to see?
get
"image/tiff"
What did you see instead?
"application/octet-stream"
(which is the fallback)The text was updated successfully, but these errors were encountered: