[Proto-Scripty] Re: query seems to keep returning

2010-05-27 Thread T.J. Crowder
Hi, Sorry, I left something fairly important out of my long rambling post earlier: You have to include the CORS response headers in *both* the OPTIONS response *and* the GET response. E.g., in pseudocode: get CORS request headers if CORS request set CORS response headers end

Re: [Proto-Scripty] Re: query seems to keep returning

2010-05-27 Thread Michael P. Soulier
On Thu, May 27, 2010 at 3:06 AM, T.J. Crowder t...@crowdersoftware.com wrote: Hi, Sorry, I left something fairly important out of my long rambling post earlier: You have to include the CORS response headers in *both* the OPTIONS response *and* the GET response. E.g., in pseudocode: Aha, I

Re: [Proto-Scripty] Re: query seems to keep returning

2010-05-26 Thread Michael P. Soulier
On 26/05/10 T.J. Crowder said: To allow this, you'd want your server to respond with these headers: Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET Access-Control-Allow-Headers: x-prototype-version,x-requested-with So just to see if this worked, I added support for an