NanoHttpd/nanohttpd — pull request #49 by alberthier (2013-08-20 09:51:26+00:00)
Title: Add a Content-Length header even if the response has no content data.

I ran into the following issue while using NanoHTTPD in my project:
I serve files and generated content with NanoHTTPD. It happens that the Response content is empty : either an empty string or a FileInputStream on an empty file.