[BangPypers] Https and http difference in behaviour urllib2

Vishal vsapre80 at gmail.com
Tue May 8 16:38:00 CEST 2012


http://docs.python-requests.org/en/latest/index.html

This page mentions both:
- underlying urllib3 (the line just before Testimonials)
- Thread Safety (last point in Features)

I am ** predicting **  that Requests will go into the std-lib very soon :))

Enjoy,
Vishal Sapre


On Tue, May 8, 2012 at 11:10 AM, Baiju M <baiju.m.mail at gmail.com> wrote:

> (Reply to an old thread)
>
> On Sat, Mar 3, 2012 at 10:47 AM, Baiju M <baiju.m.mail at gmail.com> wrote:
>
> > On Sat, Mar 3, 2012 at 10:07 AM, Gora Mohanty <gora at mimirtech.com>
> wrote:
> > > On 3 March 2012 09:41, Baiju M <baiju.m.mail at gmail.com> wrote:
> > > [...]
> > >> Sometimes features are very important.  I stared using requests for
> one
> > >> work, but later I found that it is not thread safe, then I switched to
> > urllib3:
> > >> http://urllib3.readthedocs.org/en/latest/index.html
> > >
> > > Sorry, but I am confused. Is requests not built on top of
> > > urllib3? The following link would seem to indicate so:
> > > http://pydoc.net/requests/0.8.5/requests.packages.urllib3.request
> >
> > I used some old version. which doesn't have urllib3 as a dependency:
> > https://github.com/kennethreitz/requests/tree/v0.7.6/requests/packages
> >
> > May be I need to reconsider requests again.
> >
> > However I noticed that, the requests documentation is not advertising
> > it is thread safe.
> >
>
> Just few hours ago they mentioned it for first time!
>
> https://github.com/kennethreitz/requests/commit/6fd03d5f20fcac1e85517d3cde27349612022de2
>
> --
> Baiju M
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list