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

fix: Properly forward headers in asset cache #511

Merged
merged 1 commit into from
May 18, 2020

Conversation

Robdel12
Copy link
Contributor

What is this?

CDP returns multiple headers joined by newlines, however request.respond (used for cached responses) will hang if there are newlines in headers. This commit normalizes header values as arrays split on newlines.

@Robdel12 Robdel12 requested a review from wwilsman May 18, 2020 15:35
CDP returns multiple headers joined by newlines, however `request.respond` (used
for cached responses) will hang if there are newlines in headers. This commit
normalizes header values as arrays split on newlines.
@Robdel12 Robdel12 force-pushed the rd/strip-newlines-from-cache-headers branch from b91f28e to 40fc420 Compare May 18, 2020 15:44
Copy link
Contributor

@wwilsman wwilsman left a comment

Choose a reason for hiding this comment

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

🎮

@Robdel12 Robdel12 merged commit aa3ac45 into master May 18, 2020
@delete-merged-branch delete-merged-branch bot deleted the rd/strip-newlines-from-cache-headers branch May 18, 2020 16:52
djones pushed a commit that referenced this pull request May 18, 2020
## [0.26.6](v0.26.5...v0.26.6) (2020-05-18)

### Bug Fixes

* Properly forward headers in asset cache ([#511](#511)) ([aa3ac45](aa3ac45))
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.

2 participants