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


Groups > comp.lang.python > #8625

urllib, urlretrieve method, how to get headers?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <daniil.re@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.093
X-Spam-Evidence '*H*': 0.84; '*S*': 0.03; 'everyone!': 0.05; 'subject:method': 0.09; 'subject:headers': 0.16; 'subject:urllib': 0.16; 'message-id:@mail.gmail.com': 0.28; 'alternatives': 0.29; 'subject:?': 0.31; 'headers': 0.32; 'to:addr:python-list': 0.34; 'there': 0.34; 'received:google.com': 0.38; 'received:209.85': 0.38; 'hello,': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'received:209.85.218.46': 0.91; 'received:mail- yi0-f46.google.com': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=u+A0epB6nsYS7eH/W3UI2Z1MtqLcujfcWqPwblCqJpU=; b=ae6Ha5NX0sC7cVbxY+YtAwkH4/vR34oEuZ7gzQNjBoOElqjQdiMNqR2rWCO+KdQ2Xe AJZsmtkp70lCPAvIUY9MSeEkqd0DBrjeYxfw2SBPrpSH07UO5Sg7376wsr+lJ7Rdk10A MqRE5G/rL6jAL0WdseAGVhYGaxxZ7hQ0rJwiA=
MIME-Version 1.0
Date Fri, 1 Jul 2011 18:03:39 +1100
Subject urllib, urlretrieve method, how to get headers?
From Даниил Рыжков <daniil.re@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.536.1309503827.1164.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1309503827 news.xs4all.nl 21794 [2001:888:2000:d::a6]:48005
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8625

Show key headers only | View raw


Hello, everyone!

How can I get headers with urlretrieve? I want to send request and get
headers with necessary information before I execute urlretrieve(). Or
are there any alternatives for urlretrieve()?

-- 
Regards,
Daniil

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-01 18:03 +1100
  Re: urllib, urlretrieve method, how to get headers? Peter Otten <__peter__@web.de> - 2011-07-01 09:43 +0200
    Re: urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-01 19:26 +1100
    Re: urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-01 19:53 +1100
    Re: urllib, urlretrieve method, how to get headers? Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2011-07-01 22:31 +0530
    Re: urllib, urlretrieve method, how to get headers? Chris Rebert <clp2@rebertia.com> - 2011-07-01 10:02 -0700
    Re: urllib, urlretrieve method, how to get headers? Даниил Рыжков <daniil.re@gmail.com> - 2011-07-02 11:47 +1100

csiph-web