[Web-SIG] [RFC] urllib2 requests history + HEAD support

Senthil Kumaran orsenthil at gmail.com
Sun Dec 20 19:08:19 CET 2009


I need your opinion on this request. 
<http://bugs.python.org/issue1673007>

Python Standard Library module urllib2 has support GET and POST.
There was a feature request to add support for HEAD requests.

While that is valid feature request, there was suggestion to include a
history of the requests in the module.  I don't find any references in
the RFCS for any such requirement to maintain a history of requests.

Do you have any opinion on whether is it a good idea to have history
of requests in the urllib2 module? I personally feel that history of
requests can be easier tracked by the clients.

-- 
Senthil


On Sun, Dec 20, 2009 at 05:59:48PM +0000, Senthil Kumaran wrote:
> 
> Senthil Kumaran <orsenthil at gmail.com> added the comment:
> 
> Having a HEAD request for urllib2 might be a good idea. I shall use this
> patch to add the functionality.
> 
> But, having a history support in the urllib2 module is not a good idea
> IMO. It is best left to the clients which might use urllib2.
> 
> ----------
> 
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue1673007>
> _______________________________________

-- 
Senthil
Shannon's Observation:
	Nothing is so frustrating as a bad situation that is beginning to
	improve.


More information about the Web-SIG mailing list