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

Fixes #11147 - Handle API request redirects with useful message #223

Merged
merged 1 commit into from Mar 10, 2016

Conversation

mbacovsky
Copy link
Member

  • added dependency on apipie-bindings as we require more strict version than core
  • set to not follow redirect by default
  • detect redirect from HTTP to HTTPS
  • add some hints on how to update the config (does it make sense?)
  • smaple config updated

How to test:
run some queries to sat6 or foreman with enabled redirects with protocol set to http.

@tstrachota
Copy link
Member

Works nicely, thanks @mbacovsky ⛳ 🐐

tstrachota pushed a commit that referenced this pull request Mar 10, 2016
Fixes #11147 - Handle API request redirects with useful message
@tstrachota tstrachota merged commit 287fdfc into theforeman:master Mar 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants