Opened 6 years ago

Closed 6 years ago

#4768 closed defect (fixed)

GPX download Content-Type should be "application/gpx+xml"

Reported by: bryceco Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:

Description

It would be convenient if the Content-Type of GPX downloads was "application/gpx+xml" instead of "text/xml". This would match the media type defined for GPX on Wikipedia (http://en.wikipedia.org/wiki/GPS_eXchange_Format), and would allow better support for GPX-enabled applications to be selected automatically by the browser/operating-system when users click on download links.

For example on iPhone Safari will render text/xml documents itself rather than passing them off to an appropriate application. If the Content-Type was application/gpx+xml then Safari would search for an installed application that knew how to handle GPX files and allow the user to open the download in that app.

Change History (1)

comment:1 Changed 6 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

Fixed in 7e896d7/rails.

Note: See TracTickets for help on using tickets.