[BangPypers] Https and http difference in behaviour urllib2

Senthil Kumaran senthil at uthcode.com
Sat Mar 3 05:02:04 CET 2012


On Wed, Feb 29, 2012 at 08:21:31PM +0000, Anand Chitipothu wrote:
> 2012/2/29 Senthil Kumaran <senthil at uthcode.com>:
> > On Tue, Feb 28, 2012 at 03:17:53PM +0530, Anand Balachandran Pillai wrote:
> >> For any kind of client side HTTP coding, I suggest the new requests library.
> >> I myself have been a heavy user of urllib2/urllib but these libraries are
> >> developer unfriendly and doesnt look like their problems are going to get
> >> fixed soon.
> >
> > :-) It should be fixed soon. What I have realized is, people look for
> > comforts than features. requests provides comfortable interfaces,
> > building on top of urllib2. I think, those interfaces could find a way
> > within the lib.
> 
> I disagree. People look for simplicity.

Yes, I agree that in general, people appreciate simplicity. I too. 

My previous comment was more aligned with how I read it in what people
liked in requests. Rough thoughts were along the lines like .get,
.post with data, .head etc and managing certs. All these are split
across different modules in stdlib and I found that requests provided
it a single place and useful entry for people doing most-common
operations.

Thanks,
Senthil



More information about the BangPypers mailing list