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

Tokenized value in the header "Location" #90

Closed
dimadl opened this issue Mar 2, 2018 · 1 comment
Closed

Tokenized value in the header "Location" #90

dimadl opened this issue Mar 2, 2018 · 1 comment

Comments

@dimadl
Copy link

dimadl commented Mar 2, 2018

Hi!
I've faced with the following issue:

Here is an example I'm trying:

-  request: 
       method: [GET]
       redirect_uri: ^/v\d/identity/authorize
       query:
          redirect_uri: "https://(.*)/app.*"

   response:
       headers:
         location: https://<% query.redirect_uri.1 %>/auth
       status: 302

Unfortunately, doing mentioned request I don't get "location" header in the response at all. Seems like exception happens on backend side.

Looking into the code, only DefaultResponseHandlingStrategy supports tokenized "location" header.

I can fix it. If you don't mind :)

@azagniotov
Copy link
Owner

@dimadl thank you. Will review your PR soon

azagniotov added a commit that referenced this issue Mar 19, 2018
Fixes issue #90 - Added ability to use tokenized "Location" header in 3xx responses
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

No branches or pull requests

2 participants