Of cause the response is the same origin. Ajax requests are made to the same domain only, isn't it?
Why should prototype test if it's same origin before evalResponse()? Thanks. Prototype 1.6 Ajax.Request respondToReadyState ... var contentType = response.getHeader('Content-type'); if (this.options.evalJS == 'force' || (this.options.evalJS && this.isSameOrigin() && contentType && contentType.match(/^\s*(text|application)\/(x-)?(java| ecma)script(;.*)?\s*$/i))) this.evalResponse(); } ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---