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

Enable header redirection in RedirectHandler #2976

Merged
merged 1 commit into from
Jul 10, 2015

Conversation

winzou
Copy link
Contributor

@winzou winzou commented Jul 7, 2015

Q A
Bug fix? no
New feature? kind of
BC breaks? no
Deprecations? no
Fixed tickets -
License MIT
Doc PR -

Add the ability to intercept a redirection. Use case: an xhr request. In javascript it is not possible to catch a redirection, so this way enable the JS to get this HTTP 200 response, and read the defined X-SYLIUS-LOCATION header, so that it can decide to redirect or not.

pjedrzejewski pushed a commit that referenced this pull request Jul 10, 2015
Enable header redirection in RedirectHandler
@pjedrzejewski pjedrzejewski merged commit f4a6756 into Sylius:master Jul 10, 2015
@pjedrzejewski
Copy link
Member

Really cool, thank you Alexandre! 👍

pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
Enable header redirection in RedirectHandler
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.

None yet

2 participants