Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Valid request for getting 200 response

$ nc localhost 3000
    GET / HTTP/1.1 \
    Host: localhost:3000

    HTTP/1.1 200 OK

Invalid request for getting 400 response

$ nc localhost 3000
    GET /index.html HTTP/1.1 \
    Host: localhost:3000

    HTTP/1.1 400 Not Found