Python Requests: HTTP for Humans
21–30 of 86 posts
Re: Python Requests: HTTP for Humans
#22Absolutely my favourite recent development in the Python world. I won't be mistaken if I say that many of us have built half-arse versions of this on top of urllib(2) multiple times in the past. :-) The support for keep-alive is particularly welcome, huge kudos to the author. Question to users of other languages: do equivalents exist for PHP, Perl, C# or Java? Ruby folks rave about restclient, but is there anything e…
For Ruby there's httparty, https://github.com/jnunemaker/httparty , curb, and a couple of others that escape me right now.
https://github.com/tarcieri/http
httparty does a few of the same tricks, but I still find its API a bit obtrusive. At least it automatically parses JSON! (my library does this too, if an appropriate library is loaded)
In addition to a humane interface, it will soon be backed by a Ragel-generated HTTP parser:
Re: Python Requests: HTTP for Humans
#23Unfortunately, no Python 3 support
Re: Python Requests: HTTP for Humans
#24Absolutely my favourite recent development in the Python world. I won't be mistaken if I say that many of us have built half-arse versions of this on top of urllib(2) multiple times in the past. :-) The support for keep-alive is particularly welcome, huge kudos to the author. Question to users of other languages: do equivalents exist for PHP, Perl, C# or Java? Ruby folks rave about restclient, but is there anything e…
Re: Python Requests: HTTP for Humans
#25Re: Python Requests: HTTP for Humans
#26What is the timeline for v0.7? Desperately need the asynchronous stuff!
Re: Python Requests: HTTP for Humans
#27What's with the "for human beings" phrase? Is that a way of saying the software is easy?
Re: Python Requests: HTTP for Humans
#28What's with the "for human beings" phrase? Is that a way of saying the software is easy?
Re: Python Requests: HTTP for Humans
#29Re: Python Requests: HTTP for Humans
#30Looks like Python got something similar to Perl's LWP https://metacpan.org/module/LWP
Also check out Mojo::UserAgent (https://metacpan.org/module/Mojo::UserAgent) for a nice(er) alternative. And don't forget that Perl now comes a nice lightweight alternative as standard: https://metacpan.org/module/HTTP::Tiny