Re: [Distutils] JSONP: Deprecation and Intent to Remove

2015-03-19 Thread Paul Moore
On 19 March 2015 at 08:15, Donald Stufft don...@stufft.io wrote: If you’re using a script this doesn’t effect you, JSONP and CORS are two methods for allowing the javascript on example.com to access a JSON URL on example.net. They are ways of getting around the fact that the browser doesn't

Re: [Distutils] JSONP: Deprecation and Intent to Remove

2015-03-19 Thread Paul Moore
On 19 March 2015 at 02:57, Donald Stufft don...@stufft.io wrote: For awhile now PyPI has supported JSONP on the /pypi/*/json API to allow people to access the JSON data in a cross origin request. JSONP is problematic psuedo standard which has niggly edge cases which make it hard to fully

Re: [Distutils] JSONP: Deprecation and Intent to Remove

2015-03-19 Thread Donald Stufft
On Mar 19, 2015, at 4:12 AM, Paul Moore p.f.mo...@gmail.com wrote: On 19 March 2015 at 02:57, Donald Stufft don...@stufft.io wrote: For awhile now PyPI has supported JSONP on the /pypi/*/json API to allow people to access the JSON data in a cross origin request. JSONP is problematic

Re: [Distutils] JSONP: Deprecation and Intent to Remove

2015-03-18 Thread Richard Jones
+1, JSONP was an interim hack solution way before CORS was an option. On Thu, 19 Mar 2015 at 13:58 Donald Stufft don...@stufft.io wrote: For awhile now PyPI has supported JSONP on the /pypi/*/json API to allow people to access the JSON data in a cross origin request. JSONP is problematic