Closed ghost closed 10 years ago
I'll take a look at this tomorrow, but I suspect that this could be a browser-bug. (opera 12 also has problems when the offroad-mode is activated)
PS: Can you try to enable the checkbox at Force simple CORS requests
in the settings? Does that help?
OK. So, I wasn't able to reproduce this bug with Firefox 20 and a standard squid3 proxy. What kind of proxy do you use?
simple CORS works. It is Polipo http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-20140107.tar.gz . Squid has some special features for transparent proxying so it may hide some problems.
When using default query method overpass turbo sends an "OPTIONS http://overpass-api..." to the proxy which says 501 method not implemented.
sorry closed accidentally..
Hm. I guess that there is not much I can do, if your proxy doesn't fully implement the HTTP standard. OPTION requests are needed for this kind of CORS requests. But you can simply continue to use the "simple CORS requests" option, it's there for situations like yours. ;)
Tried a simple query on http://overpass-turbo.eu/ - when a proxy is enabled it returns with an AJAX error 0 immediately. After disabling the proxy in Firefox settings it works.