An HTTP server that can respond to GET, HEAD, POST, PUT and DELETE methods.
To clone and compile code:
- git clone https://github.com/gbroccol/HTTP_server.git webserv
- cd webserv
- make
To launch server with a website:
- ./webserv
- open a web browser and go to 127.0.0.1:8080
To launch server for testing:
- ./webserv ./config/tests.conf
- in a new tab of terminal: ./tester http://127.0.0.1:8080
Contributors:
- https://github.com/helenSsnow - config parsing, autoindex pages creating etc.
- https://github.com/kate-eversunny - connection establishment, reading from/writing to sockets, GET and PUT requests handling, POST with cgi-tester (Go script) handling.
- me - requests parsing, DELETE request handling, POST request with python CGI script handling, cookie, Session, html pages, request path parsing etc.