urllib and urllib2 are not "web2py" code, they are modules included in the standard distribution. both httplib2 and requests are widely used, I'm leaning towards the requests library because it's derived from urllib3 which I contributed some code a while back, and I like the api design by Kennet (and he's one hell of a coder ). Given that are widely used and the source code is available I'd bet they are perfectly "secure"
On Wednesday, February 13, 2013 12:54:02 PM UTC+1, at wrote: > > Thank you Niphlod. > > BTW how would you compare web2py standard urllib, urllib2 with > *Requests*<http://docs.python-requests.org/en/latest/index.html>or > *httplb2* in terms security and <http://code.google.com/p/httplib2/> > reliability? > > On Wednesday, 13 February 2013 15:17:26 UTC+5, Niphlod wrote: >> >> I use requests all the time. It's included as a library in >> https://github.com/niphlod/w2p_tvseries/tree/master/modules. If you want >> to check it in the modules folder there's plenty of examples on how to >> interact with external services (most of them returns xml, but a few are >> jsonrpc ... but you'll get the idea). >> >> >> On Wednesday, February 13, 2013 9:00:55 AM UTC+1, at wrote: >>> >>> >>> Thanks, I am trying it now. >>> >>> What about using external libs like >>> *Requests*<http://docs.python-requests.org/en/latest/index.html>or >>> *httplb2*? <http://code.google.com/p/httplib2/> I think they make the >>> life easier, but not sure how mature these libraries are and how secure is >>> using them? >>> >>> Regards >>> >>> On Tuesday, 12 February 2013 19:38:29 UTC+5, tomasz bandura wrote: >>>> >>>> Did you read http://web2py.com/books/default/chapter/29/14#Twitter-API >>>> ? >>>> >>>> It is an example of Twitter RESTful+ json. >>>> >>>> T. >>>> >>>> >>>> 2013/2/12 at <[email protected]> >>>> >>>>> >>>>> Want to call a web service from a web2py application. The service >>>>> supports get/posts methos for taking input and gives response in json. >>>>> >>>>> Can someboday help me out? >>>>> >>>>> Thanks & Regards, >>>>> AT >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "web2py-users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>>> >>>>> >>>> >>>> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

