~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
1 year, 4 days ago
Updated
11 months ago
Labels
No labels applied.

~mort referenced this from #3 1 year, 4 days ago

~mort REPORTED FIXED 11 months ago

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