An Open Source, free, simple, tiny, nicely embedded HTTP/WWW server written in Java
Among its features, we can mention support for the HTTP 1.1 protocol, support for cookies, PUT support, file upload support, ETags support, persistent connections, as well as support for DELETE and HEAD requests.
NanoHTTPD can be used as a standalone application to serve files, as a subclass serve() that can be embedded into your own application, or as a call serveFile() from serve(). It runs on Linux, UNIX, Android and Mac OS X operating systems.
In a hurry? Add it to your Download Basket!
What's New in version 2.0.3
- Polish for the Web server, and a fix for a bug causing stack traces on Samsung Phones. 'Connection: keep-alive' was implemented and tested against the latest Mozilla Firefox.