#585 enhancement
Shaokun Wu

Support Http Basic Authentication in AJAX

Reported by Shaokun Wu | March 9th, 2009 @ 11:30 AM | in 1.7

I need to support http basic authentication in AJAX. But I found that prototype doesn't support to set the username and password, this.transport.open just ignore these last two parameters. There is already a ticket in Rails Trac (http://dev.rubyonrails.org/ticke..., but it never flowed into the trunk. So, I created another patch here, hope that it could be found in the trunk soon. Right now, all the test of AJAX passed, and I want to add a test for this new feature. But adding a test for Http Auth seems a little difficult here, since all the request and response are happened locally, any tips? Thanks!

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