Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: DetectContentType does not detect the mp4 mimetype #8773
@dsymonds Any chance to get some input, though? Your todo reads "Re-enable this when the spec is sorted w.r.t. MP4." – Do you, by any chance, remember what had to be sorted? Only the little-endian <-> big-endian issue? I realise this code is 4 years old, so it might be hard to remember.
Also: The current version of the spec only looks for "mp4", not all the other types (iso, M4V, ...) that the original code checks for. How closely should the spec be followed here?
In order to follow the current version of the spec, only a number, and which strings to consider valid, need to be changed.