[openstreetmap-website] not sending CORS headers on HTTP 410 GONEs (#708)

borbash notifications at github.com
Fri Feb 21 16:44:51 UTC 2014


When I request from OSM a street that has been deleted, instead of seeing the message that would indicate it has been deleted, I get a Access-Control-Allow-Origin error, caused perhaps by OSM not setting the proper/same HTTP headers on error messages that they  do on successful requests.

In other words, my issues with the Same Origin Policy mask the errors I should be seeing about a deleted street.

A more complete explanation, along with the suggestion that I bring this issue up with OSM, is at http://stackoverflow.com/questions/21920193/overcoming-access-control-allow-origin-in-simple-web-map-site

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/708
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140221/5f7b794e/attachment.html>


More information about the rails-dev mailing list