On 3/20/07, Thomas Broyer <[EMAIL PROTECTED]> wrote:
>
>
> Couldn't it be possible to have a "rewriteMethod" flag (eventually
> defaulting to "true" for backward compatibility) to turn "method
> rewriting to POST" off?


Yeah, there's a ticket in the issue tracker for that. I think we should
definitely have an option *not* to override the given HTTP method so that
advanced users may still use Prototype.

Or am I missing something in the use of Ajax.Request? or is there
> another way to use XMLHttpRequest with Prototype? or should I just not
> use Prototype?


Until we add this option to trunk, you can patch Ajax.Request yourself.
Simply locate the "_method" hack and wrap it up in a conditional based on
the specific parameter in the options hash.

The only person right now who knows if you should use Prototype is you. If
you want an easy, beautiful and cross-platform API for leveraging XHR in
your web sites/apps, then you can't go wrong with Prototype.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" 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/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to