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

service behind HTTPS will not return short url with HTTPS #3

Open
posativ opened this issue Oct 21, 2016 · 1 comment
Open

service behind HTTPS will not return short url with HTTPS #3

posativ opened this issue Oct 21, 2016 · 1 comment
Labels

Comments

@posativ
Copy link

posativ commented Oct 21, 2016

~> curl -X POST https://krz.us/api/v1/short \
    -d '{"url": "http://google.de/", "key": null}' \
    -H "Content-Type: application/json"
{"wish": null, "url_long": "http://google.de/", "url_short": "http://krz.us/3iJ"}
@izzy
Copy link
Member

izzy commented Oct 23, 2016

I guess the server/proxy is missing a header to tell the server it's run over HTTPS. I'm not sure if Flask will autodetect the header then. Will test that later™

@izzy izzy added the bug label Oct 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants