En/na Petr Fejfar ha escrit:
> Dne Mon, 12 Oct 2009 11:27:14 +0200 Rodolfo Rughi - Mondoesa Umbria srl  
> <[email protected]> napsal/-a:
> 
>> How can I (using the synapse httpcli):
>> - receive the prompt when I opne this page ?
>> - open this page and send authentication login ?
> 
> Passing username & password as part of URL
> to the method HTTPMethod() could work for you
> e.g.
> 
> http://rodolfo.rughi:[email protected]/.....

No, that probably won't work (it's the browser that interprets the 
username/password and adds the correct "Authorization" header).
I don't know how to to it in synapse, but what you have to to is to put 
an Authorization header in the request.
See, e.g., here:

http://en.wikipedia.org/wiki/Basic_access_authentication

Bye
-- 
Luca

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to