Bugfix/use write head instead of implicit header #170
Conversation
The change just removes the usage of undocumented http API and instead uses the proper writeHead method
… in node v10.4 onwards
Just wanted to note on here it looks like just a rebase, without addressing the review comments yet. I presume that will come in follow up commits? |
Yes, working on that now. |
@dougwilson I found all the comments I think needed to be fixed, except 2 perhaps that I'll work on tonight.
|
@dougwilson Is there anything more you see for this PR to have? |
I was under the impression you were going to make changes in regards to the two bullet points above, which is what I'm waiting on. I never saw any additional comments after that message. Are you still working on them? |
Eh! Sorry; I did leave the on('data') callback as is in the test, but I removed all the logs and I believe covered everything you had commented on in the previous test. For the second bullet point I quite literally have no clue off the top of my head how to even cover that in an edge case test. |
updated PR with rebase from express/compress:master to handle #128 and #129