-
Couldn't load subscription status.
- Fork 40
Open
Description
Add support to use forward proxies behind firewalls. Now the lib doesn't support providing that in the init like API keys.
E.g. here, the use of requests.
sendpulse-rest-api-python/pysendpulse/pysendpulse.py
Lines 150 to 157 in e66efb9
| if method == "POST": | |
| response = requests.post(url, headers=headers, data=params) | |
| elif method == "PUT": | |
| response = requests.put(url, headers=headers, data=params) | |
| elif method == "DELETE": | |
| response = requests.delete(url, headers=headers, data=params) | |
| else: | |
| response = requests.get(url, headers=headers, params=params) |
Should be able to provide them in init:
https://requests.readthedocs.io/en/latest/user/advanced/#proxies
Metadata
Metadata
Assignees
Labels
No labels