Skip to content

Fix for double newline issue when a redirect is used #97

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

Merged
merged 1 commit into from
Nov 14, 2021

Conversation

JasonMortonNZ
Copy link
Contributor

Description:

This PR solves an issue discovered when a redirect is used, and multiple double newlines (\r\n\r\n) are added amongst the headers. As a result the previous method used to split the headers from the content meant that part of the header could still be included within the response content if there was multiple double newline (\r\n\r\n). This PR aims to solve this issue.

Review

@tsteur
Copy link
Member

tsteur commented Nov 14, 2021

Tested it and works with and without redirect 👍

@tsteur tsteur merged commit 1afff79 into master Nov 14, 2021
@justinvelluppillai justinvelluppillai deleted the double-newline-bugfix branch November 29, 2021 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants