handling proxy authentication

140 views
Skip to first unread message

Kevin Burton

unread,
Feb 18, 2016, 10:32:59 PM2/18/16
to LittleProxy
What's the best way to enable proxy authentication?  

I don't see this documented anywhere really....

Sivasubramaniam Sivakumar

unread,
Feb 19, 2016, 2:05:17 AM2/19/16
to littl...@googlegroups.com
Hi,

You can enable proxy authentication using the withProxyAuthenticator() API on the bootstrap. Note that this supports only basic authentication.

Thanks

On Fri, Feb 19, 2016 at 9:02 AM, Kevin Burton <burto...@gmail.com> wrote:
What's the best way to enable proxy authentication?  

I don't see this documented anywhere really....

--
You received this message because you are subscribed to the Google Groups "LittleProxy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to littleproxy...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kevin Burton

unread,
Feb 20, 2016, 5:13:40 PM2/20/16
to LittleProxy
nice.. how did I not see that! Thanks!

Simon Aagaard Pedersen

unread,
Feb 22, 2016, 12:58:08 PM2/22/16
to LittleProxy
Hello,
How is this used? Is it possible to get a small example of how the client would connect? I tried playing around with the "withProxyAuthenticator", but couldn't get a client connected. 

Sivasubramaniam Sivakumar

unread,
Feb 24, 2016, 2:31:47 AM2/24/16
to littl...@googlegroups.com
Hi Simon,

You need to send a HTTP header which satisfies the rules of HTTP basic authentication described here - https://en.wikipedia.org/wiki/Basic_access_authentication#Client_side. Note that instead of the "Authorization" header in the Wikipedia page, you need to send a "Proxy-Authorization" header to authenticate to proxies. 

Can you let me know which HTTP client you use? I can check for the correct way to authenticate to proxies for that client.

Thanks
Reply all
Reply to author
Forward
0 new messages