Hi,

I have a CORS route on a service that works fine. Returns JSON as a 200 OK 
status to incoming requests. Prototype 1.7.0 renders an error from simple 
calls:

new Ajax.Request("http://test.heroku.com/concrete";, {method:'POST', 
parameters:{fizz: 'buzz'}, onSuccess: 
function(c){console.log(c.responseText)}});

Refused to get unsafe header "X-JSON"
{"success":true}

I am not sure why I see the response as expected, but that error is 
annoying... any idea what can be done to eliminate that from Prototype Ajax 
Requests....

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/fyV88WCajWkJ.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to