Get URL using selected implementation Example: get(url, ctimeout=5, timeout=5, header=[]):
(self, *args, **kwargs)
| 124 | self._geturl.http_proxy = http_proxy |
| 125 | |
| 126 | def get(self, *args, **kwargs): |
| 127 | """Get URL using selected implementation |
| 128 | Example: |
| 129 | get(url, ctimeout=5, timeout=5, header=[]): |
| 130 | """ |
| 131 | if len(args) != 1: |
| 132 | raise TypeError('wrong number of arguments') |
| 133 | return self._geturl.get(*args, **kwargs) |
| 134 | |
| 135 | def post(self, *args, **kwargs): |
| 136 | """POST using selected implementation""" |
no outgoing calls