question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proxy handling like urllib2

See original GitHub issue

The ProxyHandler in urllib2 uses a dictionary of proxies for http and https connections. Like

urllib2.ProxyHandler({'http': 'http://proxy', 'https': 'https://proxy'}).

Is there any such support here? There is no such mention in the documentation.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Lukasacommented, Jun 8, 2016

I definitely feel super lukewarm about the idea of providing this functionality. It really does seem to amount to being about 5 lines of user code, and not particularly complex code either.

0reactions
sethmlarsoncommented, Oct 9, 2021

Since SessionManager isn’t being worked on currently we’re going to decline this for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proxy with urllib2 - python - Stack Overflow
I know urllib2 has something like a proxy handler, but I can't recall that function. python · proxy · urllib2 · Share.
Read more >
How to force urllib2 not to use a proxy - Decalage
If no proxy is explicitly specified, urllib2 will use Internet Explorer proxy settings by default. The issue is that urllib2 does not take...
Read more >
urllib.request — Extensible library for opening URLs — Python ...
Cause requests to go through a proxy. If proxies is given, it must be a dictionary mapping protocol names to URLs of proxies....
Read more >
Python Examples of urllib2.ProxyHandler - ProgramCreek.com
The following are 30 code examples of urllib2.ProxyHandler(). You can vote up the ones you like or vote down the ones you don't...
Read more >
HOWTO Fetch Internet Resources Using The urllib Package
urllib.request is a Python module for fetching URLs (Uniform Resource ... handling common situations - like basic authentication, cookies, proxies and so on ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found