Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

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

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: bryceco
[Submitted to the original trac issue database at 3.48pm, Wednesday, 6th February 2013]

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.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 3.25pm, Monday, 9th September 2013]

Fixed in [changeset:7e896d7/rails].

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant