On 30 nov, 07:16, PhistucK <[email protected]> wrote:
> Maybe with 
> setRequestHeader()?http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method
> <http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method>

Yes indeed. Thanks.
my code now looks likke:
 req.setRequestHeader("X-WSSE", wsseHeader(localStorage["user"],
                        localStorage["password"]));

>
> On Fri, Nov 27, 2009 at 23:32, Régis Décamps <[email protected]>wrote:
>
> > Hi,
>
> > I'm writing my first extension for Chrome and I'm trying to call a
> > Rest-Atom based web service which has a private feed secured with WSSE
> > http header.
>
> > I can generate the correct user/token (thanks to a library of Victor
> > Ruizhttp://rvr.typepad.com/wind/2005/07/wsse_for_javasc.html), but
> > how can I inject this text as an http header in my XmlHttpRequest
> > object?
>
> > Thanks for your help
>
> > Régis
>

-- 
Chromium Discussion mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-discuss

Reply via email to