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

Terminate simple server success response with double CRLF #3542

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

blyxxyz
Copy link
Contributor

@blyxxyz blyxxyz commented Dec 16, 2023

The simple success case had only the status line plus a single CRLF, and pedantic HTTP client implementations (hyper) stumbled over this. The RFC requires two even if there's no body.

Fixes #3541.

The simple success case had only the status line plus a single CRLF,
and pedantic HTTP client implementations (`hyper`) stumbled over
this. A double CRLF makes it OK.

Fixes junegunn#3541.
@junegunn junegunn merged commit 91387a7 into junegunn:master Dec 16, 2023
5 checks passed
@junegunn
Copy link
Owner

Merged, thanks!

@blyxxyz blyxxyz deleted the more-crlf branch December 16, 2023 06:15
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.

xh reports error when sending "put(x)" to fzf
2 participants