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

Redirect withs #2939

Merged
merged 5 commits into from
May 6, 2020
Merged

Redirect withs #2939

merged 5 commits into from
May 6, 2020

Conversation

lonnieezell
Copy link
Member

Added two new methods to RedirectResponse:

  • withCookies()
  • withHeaders()

They copy the current cookies/headers from the global response instance so they are sent during the redirect and not lost.

@lonnieezell lonnieezell merged commit 2e95838 into develop May 6, 2020
@lonnieezell lonnieezell deleted the redirectWiths branch May 6, 2020 04:15
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.

1 participant