Prototype doesn't support HTTP Basic and Digest Authentication now.
You need to modify the source code of prototype.js like this:
The original code is:
this.transport.open(this.method.toUpperCase(), this.url,
this.options.asynchronous);
You need add two parameters:
this.transport.open(this.method.toUpperCase(), this.url,
this.options.asynchronous, this.options.username,
this.options.password);
That's almost all you need to do in client to support HTTP Basic and
Digest Authentication.
--dlee
On 7月12日, 上午1时39分, "
donald.b...@gmail.com" <
donald.b...@gmail.com>
wrote: