~mort/coffeepaste#2: 
Serve /<ID> with Content-Type text/plain; charset=utf-8 and X-Content-Type-Options nosniff

Currently, the default for serving a GET request, if there is no extension provided or the extension is unknown, is to provide no Content-Type header.

I think it would be better to always serve text/plain when an extension is unknown or not provided, and instead work on measures to prevent people from accidentally ending up with URLs to binary data with no extension: #3

Status
RESOLVED FIXED
Submitter
~mort
Assigned to
No-one
Submitted
4 years ago
Updated
4 years ago
Labels
No labels applied.

~mort referenced this from #3 4 years ago

~mort REPORTED FIXED 4 years ago

Register here or Log in to comment, or comment via email.