/http-server

a http-server with multiple webpages and gzip functionalities

Primary LanguageC++

This is my http-server of LAC(161220062).

Keep Updating!

The server now supports some webpages and parses different files correctly. What's more, from the competition in Hong Kong, I added the gzip feature in the server so that it could answer request more quickly and efficiently.

what it can do:

  • 127.0.0.1:8080/hello show a hello world
  • 127.0.0.1:8080/bhello show a better hello world written in html5
  • 127.0.0.1:8080/add/X/Y to carry out adding X and Y
  • 127.0.0.1:8080/ enter the main blog where you have link to
    • 127.0.0.1:8080/login login (after which you would see a little change in the header)
    • 127.0.0.1:8080/signup sign up a new account
    • And Other New Features. Feel free to click on them.
    • //and a small change would appear

By Lac Jolime Lee 2018.2.28

Update on 2018.6.4

Now the server has another version of python named python.py! This means that you could start the server by typing 'python http.py' in the terminal while holding almost same functionalities while more standardized specifications. Would keep updating on python version in branch 'pythonServer'.