Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7678 > unrolled thread

Re: Question regarding DNS resolution in urllib2

Started byChris Angelico <rosuav@gmail.com>
First post2011-06-15 18:28 +1000
Last post2011-06-15 18:28 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question regarding DNS resolution in urllib2 Chris Angelico <rosuav@gmail.com> - 2011-06-15 18:28 +1000

#7678 — Re: Question regarding DNS resolution in urllib2

FromChris Angelico <rosuav@gmail.com>
Date2011-06-15 18:28 +1000
SubjectRe: Question regarding DNS resolution in urllib2
Message-ID<mailman.261.1308126530.11593.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web