fastly / fastly-py

A Fastly API client for Python
https://pypi.org/project/fastly/
MIT License
77 stars 59 forks source link

No proxy support #77

Closed mzpqnxow closed 2 years ago

mzpqnxow commented 3 years ago

It appears that because the underlying HTTP is powered by the minimal most low-level Python HTTP package that there's no easy way to use a proxy. I'm not sure if this project is still maintained or if it's just an "as-is" alternative to the more up-to-date golang CLI

It would make much more sense to use the third-party requests package which is the standard for nearly all Python projects doing anything but the simplest HTTP operations

Rather than hack in proxy support, I'm going to fork fastly-py and make the necessary changes to make it work with requests, if you're interest in a PR I'm happy to submit it but it will be a pretty invasive change

Integralist commented 3 years ago

Thanks @mzpqnxow for opening this issue.

For future travellers I'll cross-link to my comments in your PR related to the future plans for fastly-py (the summary being: a newly rewritten version is planned).

https://github.com/fastly/fastly-py/pull/78#issuecomment-899425985

mzpqnxow commented 2 years ago

Closing this, it has served its purpose

Thanks!