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

HTTPServer - add support for HTTP informational status message sending #2352

Merged
merged 1 commit into from
Dec 5, 2019

Conversation

tchaloupka
Copy link
Contributor

This adds possibility to send HTTP status messages (1xx) using writeVoidBody in HTTPServerResponse.
I've modified also the client that now can receive these messages in it's responder handler prior the final response.

What's not handled properly is 100 Continue as client just sends the body right away.
I'm not so sure how to fix that as requester should begin to write body after 100 Continue is received from the server in responder. Maybe using semaphore between requester and responder?

But this can probably be handled separately as this PR doesn't change the current behavior for that.

@s-ludwig s-ludwig merged commit 3e14a47 into vibe-d:master Dec 5, 2019
@tchaloupka tchaloupka deleted the processing branch December 5, 2019 10:49
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