Skip to content

manavos/simple-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP Server

  • Supports HTTP GET and HEAD methods: Handles GET requests to serve file contents and HEAD requests to send file metadata.

  • Static file serving: Reads and serves static files from the server directory, with content-length and type headers.

  • CGI-like support: Executes server-side programs from a restricted cgi-like directory and returns the output to the client.

  • Error handling: Responds with appropriate HTTP status codes for errors, such as 404 for file not found and 501 for unsupported methods.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages