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

Added support for multiline headers. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ladenedge
Copy link

Bit of a tradeoff here. I decided to just send additional lines with no
separator from previous lines. One could send newlines with all header
values, the way part data works, but that could possibly be a breaking
change. One could also add additional states, rewind the index and add
newlines only on multiline headers, but that seemed like too much
complexity.

This patch is meant to resolve #14.

Bit of a tradeoff here.  I decided to just send additional lines with no
separator from previous lines.  One could send newlines with all header
values, the way part data works, but that could possibly be a breaking
change.  One could also add additional states, rewind the index and add
newlines only on multiline headers, but that seemed like too much
complexity.
@ghost
Copy link

ghost commented Aug 25, 2022

Hi!
How this commit should looks like at the moment?

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.

Does not handle multiline headers
1 participant