Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access https API through proxy #13

Open
panuganti opened this issue May 21, 2016 · 1 comment
Open

Access https API through proxy #13

panuganti opened this issue May 21, 2016 · 1 comment

Comments

@panuganti
Copy link

I'm trying to access REST API of twitter through proxy.

I followed the instructions and setup the proxy. When I try manually, it works fine.

However, I want to do GET/POST requests through this proxy.
So, when I access https://.appspot.com/api.twitter.com/....
I get an error, 'SSL is required'

Any idea how to resolve this issue ?
TIA.

@bslatkin
Copy link
Owner

bslatkin commented Apr 2, 2017

Right now all of the content proxied is accessed via HTTP. See this line in the source:

https://github.com/bslatkin/mirrorrr/blob/master/mirror.py#L206

You'd need to extend the codebase somehow to also put the URL scheme in the proxied address. This is probably a good idea given how much of the web has made the switch to HTTPS lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants