8000 GitHub - alexjercan/http-server-c
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alexjercan/http-server-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server in C

This attempts to be a clone of the http.server Python module. In this project I want to learn how the HTTP protocol works, how to parse the requests and how to build responses that the browser/curl command can understand.

Quickstart

gcc main.c -o main
./main

Plans

I want to add the following features to the project

  • arguments for the directory to use and port to serve the app to
  • directory listings (Frontend in C)
  • being able to load different types of files (like pdf and whatnot)
  • 404 page for not found paths
  • more error checks to make the app a bit friendlier when a user uses it like a dummy dumb (like me for example)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0