Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python Socket HTTP Server.

This is my first Lab in Computer Network (CSC10008) @ VNUHCM - University of Science, Fall 2020.

Watch the demo video here (Vietnamese).

Attention!

Technology used:

  • Python 3.7.5
  • Bootstrap v4.0.0

Description:

  • index.html: Login page.
  • 404.html: Not found page.
  • files.html: Download page.
  • infos.html: Profile page.
  • server.py: Server file.
  1. From index.html, user log in to the system with username admin and password admin. This action use the HTTP POST method.

    a. If user is logged in, redirect (HTTP/1.1 302) to infos.html.

    b. Otherwise, HTTP/1.1 404 returned.

  2. infos.html is the information of students worked on this project.

  3. files.html displays a list of files that user can download. These files are delivered in transfer-encoding: chunked format, not content-length.

  4. Files to download are in a folder named download.

Remarks:

  • This project does not require session management & cookie management.
  • This project is to create a new simple HTTP server, using socket, so I can't use any HTTP library.

License

This project is under The MIT License.

About

Socket Programming Project - Computer Network (CSC10008).

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages