Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #73408 > unrolled thread
| Started by | Robin Becker <robin@reportlab.com> |
|---|---|
| First post | 2014-06-19 10:22 +0100 |
| Last post | 2014-06-19 10:22 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
urllib/urllib2 support for specifying ip address Robin Becker <robin@reportlab.com> - 2014-06-19 10:22 +0100
| From | Robin Becker <robin@reportlab.com> |
|---|---|
| Date | 2014-06-19 10:22 +0100 |
| Subject | urllib/urllib2 support for specifying ip address |
| Message-ID | <mailman.11137.1403169738.18130.python-list@python.org> |
I want to run torture tests against an https server on domain A; I have configured apache on the server to respond to a specific hostname ipaddress. I don't want to torture the live server so I have set up an alternate instance on a different ip address. Is there a way to get urlib or urllib2 to use my host name and a specifed ip address? I can always change my hosts file, but that is inconvenient and potentially dangerous. -- Robin Becker
Back to top | Article view | comp.lang.python
csiph-web