Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 832 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 832 Bytes

Simple HTTP Server

A minimal HTTP server implementation in Python with no dependencies. This is an educational project, not suitable for production use.

Supported Features

  • Basic HTTP/1.1 compliance
  • Static file serving
  • MIME type detection
  • Error handling (404, 500, 501)

Getting Started

  1. Place files in your web root directory
  2. Run server:
python server.py
  1. Access http://127.0.0.1:8888 in your browser

Future Improvements

  • Add support for POST, PUT, DELETE methods
  • Add concurrent request handling
  • Add CONFIG support (port binding, root directory)
  • Add CLI arguments support
  • Add logging system
  • Implement request body parsing
  • Implement basic caching
  • Implement persistent connections (Keep-Alive)
  • Support chunked transfers for large files