{"id":27979338,"url":"https://github.com/alessandrorebosio/network-project","last_synced_at":"2025-07-31T15:40:19.932Z","repository":{"id":291946136,"uuid":"979298696","full_name":"alessandrorebosio/network-project","owner":"alessandrorebosio","description":"network project @ unibo","archived":false,"fork":false,"pushed_at":"2025-05-07T10:01:10.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T02:52:14.086Z","etag":null,"topics":["network","python","unibo"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alessandrorebosio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-07T09:49:54.000Z","updated_at":"2025-05-07T10:02:43.000Z","dependencies_parsed_at":"2025-05-07T11:19:47.708Z","dependency_job_id":"9c3db065-f93a-4cbd-a734-9ef08576d512","html_url":"https://github.com/alessandrorebosio/network-project","commit_stats":null,"previous_names":["alessandrorebosio/network-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alessandrorebosio%2Fnetwork-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alessandrorebosio%2Fnetwork-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alessandrorebosio%2Fnetwork-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alessandrorebosio%2Fnetwork-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alessandrorebosio","download_url":"https://codeload.github.com/alessandrorebosio/network-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252989937,"owners_count":21836666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["network","python","unibo"],"created_at":"2025-05-08T02:52:16.995Z","updated_at":"2025-07-31T15:40:19.902Z","avatar_url":"https://github.com/alessandrorebosio.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network Programming - Project\n\n**70226 - Academic Year 2024/25, Bachelor's Degree in Computer Science and Engineering, University of Bologna - Cesena Campus**  \n- **Instructors**: Professors Franco Callegati, Andrea Piroddi \n- **Programming Language**: Python\n\n## Overview\n\nThis repository contains a simple HTTP server developed as part of the **Network Programming** course.  \nThe project aims to reinforce core concepts related to sockets, HTTP protocol, concurrency, and request handling, using Python.\n\nThe server is capable of:\n\n- Handling multiple concurrent connections via `threading`\n- Parsing and responding to basic HTTP requests (`GET`, `HEAD`)\n- Serving static files from the `www/` directory\n- Sending appropriate HTTP status codes (e.g., 200 OK, 404 Not Found)\n- Logging each request in console\n- Detecting MIME types using the built-in `mimetypes` module\n\n## How to Run the Server\n1. **Clone the Repository**\n```bash\ngit clone https://github.com/alessandrorebosio/network-project.git\ncd network-project\n```\n\n2. **Run the server:**\n```bash\npython3 src/server.py\n```\n\n3. **Access the server** in your browser:\n```bash\nhttp://localhost:8080/www/index.html\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessandrorebosio%2Fnetwork-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falessandrorebosio%2Fnetwork-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falessandrorebosio%2Fnetwork-project/lists"}