curl Module Functionality¶
A high-level interface to the pycurl extension
High Level Curl Object¶
- class curl.Curl(base_url='', fakeheaders=None)¶
- High-level interface to pycurl functions. - answered(check)¶
- Did a given check string occur in the last payload? 
 - body()¶
- Return the body from the last response. 
 - close()¶
- Close a session, freeing resources. 
 - get(url='', params=None)¶
- Ship a GET request for a specified URL, capture the response. 
 - get_info(*args)¶
- Get information about retrieval. 
 - head(url='', params=None)¶
- Ship a HEAD request for a specified URL, capture the response. 
 - header()¶
- Return the header from the last response. 
 - info()¶
- Return a dictionary with all info on the last response. 
 - post(cgi, params)¶
- Ship a POST request to a specified CGI, capture the response. 
 - set_option(*args)¶
- Set an option on the retrieval. 
 - set_timeout(timeout)¶
- Set timeout for a retrieving an object 
 - set_url(url)¶
- Set the base URL to be retrieved. 
 - set_verbosity(level)¶
- Set verbosity to 1 to see transactions.