Hacker News new | ask | show | jobs
by tom_ 305 days ago
Parsing HTTP is entirely unnecessary. That's the web client's job.
1 comments

Do you mean parsing HTML? HTTP is the protocol they use to communicate, so both client and server must speak it. Or did I misunderstand you?
No, brain fart on my part. You can use llhttp, which is pretty easy to use: https://github.com/nodejs/llhttp