#985 bug
William Shulman

Http method tunneling does not work if postBody is used

Reported by William Shulman | January 22nd, 2010 @ 07:02 AM

The tunneling technique of using method as a request parameter does not work if postBody is used in ajax requests. The documentation does say that post parameters are not passed when postBody is used, but the inability to tunnel the method parameter may be an unintended side-effect. The problem is that you now cannot use PUT with a postBody. You can POST with a postBody but not PUT. Would it be possible to tunnel with a secret _method header instead of a request parameter?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

Pages