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

Adding test for interceptor headers and redirection #258

Merged
merged 13 commits into from
Oct 25, 2021

Conversation

arschles
Copy link
Collaborator

This patch adds a test to ensure that the interceptor handles headers - including Location header and 301 response codes - properly.

This is a proposed solution to #249 based on #249 (comment)

Checklist

Fixes #249

cc/ @yaron2

Signed-off-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
@arschles arschles marked this pull request as ready for review September 21, 2021 23:31
@arschles arschles enabled auto-merge (squash) September 21, 2021 23:31
@arschles arschles added this to the v0.2.0 milestone Sep 22, 2021
Copy link

@bketelsen bketelsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@arschles
Copy link
Collaborator Author

thanks @bketelsen!

@arschles
Copy link
Collaborator Author

Although the linkinator check is failing, I'm going to manually merge this. The failure is due to kedacore/keda#2215 and the work to fix it will be done separately.

@arschles arschles merged commit 93bf699 into kedacore:main Oct 25, 2021
@arschles arschles deleted the http-redir branch October 25, 2021 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests for HTTP redirect responses to the interceptor
2 participants