Skip to content

fix response.message(httpMessage)#3560

Merged
hueniverse merged 2 commits intohapijs:masterfrom
amincheloh:patch-1
Aug 5, 2017
Merged

fix response.message(httpMessage)#3560
hueniverse merged 2 commits intohapijs:masterfrom
amincheloh:patch-1

Conversation

@amincheloh
Copy link
Copy Markdown
Contributor

res.statusMessage should assign before calling res.writeHead() explicitly. see https://nodejs.org/api/http.html#http_response_statusmessage

res.statusMessage should assign before calling res.writeHead() explicitly. see https://nodejs.org/api/http.html#http_response_statusmessage
@kanongil
Copy link
Copy Markdown
Contributor

kanongil commented Aug 3, 2017

Looks legit – thanks.

Can you add a test as well?

@amincheloh
Copy link
Copy Markdown
Contributor Author

@kanongil added

@hueniverse hueniverse self-assigned this Aug 5, 2017
@hueniverse hueniverse added the bug Bug or defect label Aug 5, 2017
@hueniverse hueniverse added this to the 16.6.0 milestone Aug 5, 2017
@hueniverse hueniverse merged commit 5c9281d into hapijs:master Aug 5, 2017
@lock
Copy link
Copy Markdown

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants