Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7678
| References | <E284F771-80D9-4F21-9935-1D61E76F8B01@gmail.com> <BANLkTik8pc5aAiS2Y0KQqPfa80jU1ckFDQ@mail.gmail.com> <13FAA3D4-ED1D-47AC-BADA-FD5C2D3729B7@gmail.com> <BANLkTimnxY7tRyUCkFC2ELqdoU0=a28COg@mail.gmail.com> <BANLkTi=67UGGieFAayEgAgT42hhsZSG4yA@mail.gmail.com> |
|---|---|
| Date | 2011-06-15 18:28 +1000 |
| Subject | Re: Question regarding DNS resolution in urllib2 |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.261.1308126530.11593.python-list@python.org> (permalink) |
On Wed, Jun 15, 2011 at 5:50 PM, saurabh verma <nitw.saurabh@gmail.com> wrote: >> If you edit your hosts file, it will affect where something.com points >> - you can force it to be IPA and then test, then force it to IPB and >> test. You'll still be downloading https://something.com so the HTTPS >> handshake should work exactly the same way. > > there are issues with editing /etc/hosts , what if i don't have sudo access > on the target server ? I need a way out programmatically to fix this problem You don't need to edit it on the server; just use any handy computer. You need only tinker with the configuration on the client, not the server. Chris Angelico
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Question regarding DNS resolution in urllib2 Chris Angelico <rosuav@gmail.com> - 2011-06-15 18:28 +1000
csiph-web