You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documented interface for http.DetectContentType says that it only uses 512 bytes of
data to make its decision, and the code seems to agree with that comment.
But http.ServeContent (serveContent, really) reads twice that much. It should only read
the amount that DetectContentType is using.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: