Skip to content

alessandrorebosio/NET25-httpServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Programming - Project

70226 - Academic Year 2024/25, Bachelor's Degree in Computer Science and Engineering, University of Bologna - Cesena Campus

  • Instructors: Professors Franco Callegati, Andrea Piroddi
  • Programming Language: Python

Overview

This repository contains a simple HTTP server developed as part of the Network Programming course.
The project aims to reinforce core concepts related to sockets, HTTP protocol, concurrency, and request handling, using Python.

The server is capable of:

  • Handling multiple concurrent connections via threading
  • Parsing and responding to basic HTTP requests (GET, HEAD)
  • Serving static files from the www/ directory
  • Sending appropriate HTTP status codes (e.g., 200 OK, 404 Not Found)
  • Logging each request in console
  • Detecting MIME types using the built-in mimetypes module

How to Run the Server

  1. Clone the Repository
git clone https://github.com/alessandrorebosio/NET25-httpServer.git
cd network-project
  1. Run the server:
python3 src/server.py
  1. Access the server in your browser:
http://localhost:8080/www/index.html

About

network project @ unibo

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors