Comment 179 for bug 25830

Revision history for this message
In , Joao-batista (joao-batista) wrote :

(In reply to comment #148)
> Getting different content types for the same file on different
> occasions could cause some puzzling symptoms. But probably beyond the scope of
> this bug (except as another illustration of why it would be really useful to
> be able to override the declared content type when needed).
>

My feelings exactly. IMHO it would be sensible to allow the user to circumvent
badly configured Web servers, by allowing the user to select an appropriate
action -- at least on those occasions that Mozilla finds out it does not know
what to do with a given MIME type.

On this note, I would vote for the UI look on comment #62 , perhaps clarifying
on those entries with the MIME type in parethesis, eg:
  (o) View as [Text v]
              +------------------+
              | Text (plain/text)|
              | Image (image/*) |
              | HTML (text/html) |
              | XML (text/xml) |
              | Other... |
              +------------------+
I'm hesitant to suggest that selected MIME types with "Other..." would show up
after being selected. E.g., if the user chose to open an URL using a MIME type
application/x-pdf, then the appropriate entry would also show up on subsequent
calls of the drop-down menu.