-
Notifications
You must be signed in to change notification settings - Fork 21.9k
Closed
Description
Imported from Lighthouse. Original ticket at: http://rails.lighthouseapp.com/projects/8994/tickets/6458
Created by Roel van der Hoorn - 2011-02-21 10:36:42 UTC
Some web crawlers use the "text/*"
MIME type in the HTTP ACCEPT header in their request. This makes Rails throw a MissingTemplate error.
This ticket covers only the part that "text/*"
should return any text type (e.g. text/html
, text/plain
). And "image/*"
any image type for that matter.
Note that this issue is not the same as #5113, which covers the MissingTemplate part, instead of returning a 406 (Not Acceptable), if the HTTP ACCEPT header requests only MIME types for which the respond_to block does not have an adequate response.
Metadata
Metadata
Assignees
Labels
No labels