-
Notifications
You must be signed in to change notification settings - Fork 24
Home
It is a really simple HTTP server which implements part of HTTP 1.1 for prototyping.
One of the major purpose is that it can be ported on an embedded system (including micro controller unit level).
For writing Micro HTTP Server, the developer has studied eserv and Tiny HTTPd ..., etc. However, most of them use the thread or fork libraries to fulfill the concurrency requirements. To have an HTTP server on the OS with restricted resource which does not provide thread or fork features, ones may only uses the select function to serve multi clients concurrently. Therefore, Micro HTTP Server is built for the purpose.
Get the code git clone https://github.com/starnight/MicroHttpServer.git
.
It will need Python 3.2 or above.
cd py-version
python3 main.py
Open your web browser and access the URL: http://localhost:8000
It will need make and GCC for building.
cd c-version
make
./microhttpserver
Open your web browser and access the URL: http://localhost:8001
-
Python Version: [Py API](Py API)
-
C Version: [C API](C API)
- RFC 2616 HTTP/1.1
- RFC 3875 CGI
- Wiki FastCGI
- Netscape Server Application Programming Interface (NSAPI)
- Django & Twisted by Amber Brown @ PyCon Taiwan 2016
- eserv
- Tiny HTTPd
- GNU Libmicrohttpd
Micro HTTP Server's code uses the BSD license, see our LICENSE.md file.