On 12/18/06, Tom Gregory <[EMAIL PROTECTED]> wrote:
>
> Gah. I should clarify. When I said Safari works, I mean that I've
> used it successfully in the past, not that this particular test
> worked. (Which Brad is right, it doesn't.)
So how did you use these verbs successfully then? This test is very
straightforward, and if Safari doesn't pass this I don't see how it could be
that it supports these verbs.
This is basically it (some logic stripped):
xhr = Ajax.getTransport()
xhr.open(method, 'echo?m='+method, false)
xhr.send(null)
res = xhr.getResponseHeader('X-Test-success') || xhr.responseText
And if Safari would pass this test, I would suggest stopping emulating these
5 verbs in Prototype, yes.
--
Mislav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---