Skip to content

hyper: enable obs-folded multiline headers#9216

Closed
seanmonstar wants to merge 1 commit intocurl:masterfrom
seanmonstar:hyper-unfold-headers
Closed

hyper: enable obs-folded multiline headers#9216
seanmonstar wants to merge 1 commit intocurl:masterfrom
seanmonstar:hyper-unfold-headers

Conversation

@seanmonstar
Copy link
Copy Markdown
Contributor

This enables the option in hyper to allow obs-folded multiline headers, which makes test 1940 pass.


I was hopeful this would fix test 1274, but it seems that test is expecting to receive the bytes before the value is unfolded, and hyper unfolds as part of the parsing step. The header value is still received, just without the newlines. So a curl user depending on a folded header could still work, if they don't blindly unfold.

We can either edit that test directly to allow the expected output to be unfolded if hyper is enabled, or disable the test directly.

@bagder
Copy link
Copy Markdown
Member

bagder commented Jul 27, 2022

Yeah, we probably need to edit the 1274 test a little to make it run with hyper.

@bagder
Copy link
Copy Markdown
Member

bagder commented Jul 27, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants