Wednesday, 13 February 2019

How to create simple web server with HTTP/1.0 protocol in Node.js

I've homework for Client Server Programming course and it want me to create Multi-Client Web Servers. But the rule is web server must implement HTTP version 1.0 protocol, where separated HTTP requests are sent for each component of the Web Page. Unfortunately, I'm just know to work with Node.js. I know C, but it long times (around 10 years ago) and only do very basic programming such as arithmetic operation, work with string and arrays, not OOP in C.So the question, how to create or setup web server with HTTP/1.0 protocol in Node.js?Currently, I have node v.10.15.1 installed on my laptop (using macos). I've tried with http and net module but can't find how to configure the protocol to use HTTP/1.0

Submitted February 13, 2019 at 12:57PM by mzk_ky

No comments:

Post a Comment