Class | PyCurlTransport | http client transport using pycurl |
Function | get_test_permutations | Return the permutations to be used in testing. |
Function | _get_pycurl_errcode | Returns the numerical error code for a symbol defined by pycurl. |
Different pycurl implementations define different symbols for error codes. Old versions never define some symbols (wether they can return the corresponding error code or not). The following addresses the problem by defining the symbols we care about. Note: this allows to define symbols for errors that older versions will never return, which is fine.