[webkit-help] HTTP Authorization Header not seen, when using XHR with username/password on webkit

Stuart Chi Chuen Ng sng at rim.com
Wed Jun 23 07:57:04 PDT 2010


I am trying to send an XHR request with username and password as arguments:

Xhr.open('GET', '', false, 'user', 'password');


 *   By calling this and then send, should I see the 'Authorization' HTTP Header being sent with username/password Base 64 encoded? I use Packet sniffer and can not see this header being sent at all.
 *   Does this only work after a HTTP 401 was received?

Any help would be greatly appreciated!


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100623/f842e480/attachment.html>

More information about the webkit-help mailing list