Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150741 - layman doesn't support authenticated proxies
Summary: layman doesn't support authenticated proxies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 05:06 UTC by Arun Raghavan (RETIRED)
Modified: 2007-04-09 19:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
uses urllib2 to enable proxy support (layman-auth-proxy.patch,1.62 KB, patch)
2006-10-10 05:09 UTC, Arun Raghavan (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arun Raghavan (RETIRED) gentoo-dev 2006-10-10 05:06:26 UTC
Layman doesn't support authenticated proxies (this is a urllib limitation).
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2006-10-10 05:09:31 UTC
Created attachment 99280 [details, diff]
uses urllib2 to enable proxy support

I'm very new to Python so this might not be a good way to do this.

urllib2 offers more sophisticated ways to handle proxy authentication (by adding handlers), but these did not work for me.
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2006-10-10 05:10:35 UTC
Ah, thanks. I'll have a look at that.
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2007-01-13 14:09:36 UTC
FWIW, this patch applies as-is to 1.0.9 and 1.0.10 as well.
Comment 4 Arun Raghavan (RETIRED) gentoo-dev 2007-02-11 12:06:22 UTC
Hi Gunnar ... any chance of getting this included?
Comment 5 Gunnar Wrobel (RETIRED) gentoo-dev 2007-02-11 12:26:45 UTC
In principle yes since this is the last bit of functionality I wanted to include in layman. I just didn't have much time looking at it recently and if I understand your second comment correctly, the patch you supplied does not work correctly. Or did I misinterpret your comment?
Comment 6 Arun Raghavan (RETIRED) gentoo-dev 2007-02-15 16:24:19 UTC
(In reply to comment #5)
> In principle yes since this is the last bit of functionality I wanted to
> include in layman. I just didn't have much time looking at it recently and if I
> understand your second comment correctly, the patch you supplied does not work
> correctly. Or did I misinterpret your comment?

Umm ... actually you misunderstood ... it applies just fine to each of the latest versions of layman.
Comment 7 Gunnar Wrobel (RETIRED) gentoo-dev 2007-04-09 19:55:43 UTC
Fixed in layman-1.0.99