Http Client
The http module contains four different http clients:
- httplib1, alias of the standard httplib module
- httplib2, alias of the great httplib2 library by Joe Gregorio and contributors.
- httplib3, a class based on pycurl.
- httplib4, uses httplib2 with pycurl classes for connection. This is the fastest client.
To create a httpclient you can use the factory function http.httplib.
-
unuk.http.httplib(cache=None, proxy_info=None, timeout=None, type=2)
Create a http client handler:
- cache is the http cache file.
- proxy_info proxy server
- timeout
- type the type of client.