4 ms·
Looks like Python got something similar to Perl's LWP https://metacpan.org/module/LWP https://metacpan.org/module/LWP
by mp3tricord 15y ago
Looks like Python got something similar to Perl's LWP https://metacpan.org/module/LWP https://metacpan.org/module/LWP
- draegtun 15y agoI think LWP is more equivalent to Python's urllib2 (ie. both big beasts!). So this i believe is closer to what LWP::UserAgent (https://metacpan.org/module/LWP::UserAgent https://metacpan.org/module/LWP::UserAgent) does. Also check out Mojo::UserAgent (https://metacpan.org/module/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 https://metacpan.org/module/HTTP::Tiny
- mp3tricord 15y agoYes gp, LWP::UserAgent specifically. Never knew about HTTP::Tiny thanks.. I'll check it out.