Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vue-renderer): add vary header for
user-agent
in modern serve…
…r mode (#5807)
- Loading branch information
Pooya Parsa
committed
May 25, 2019
1 parent
a0958f0
commit 7e50fe7
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7e50fe7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the behavior I'm seeing is a bug in the auth-module or specific to this change. But ever since I upgraded to include this change I see "Can't set headers after they are sent" errors in the console when the auth-module redirects. I wonder if you need to check result before setting the header? Here is a log excerpt where I've monkey patched setHeader to show Vary being called.