NanoHttpd/nanohttpd — pull request #36 by MartinMReed (2013-06-10 23:12:25+00:00)
Title: Adding serve(HTTPSession) to allow streaming without forcing the body into temp files first

Streaming a request body may be desired, so I am adding a new serve() method that accepts the HTTPSession. Users can then read from the inputStream to get the body, or let it default to calling the original serve() method that writes to temp files and parses form parameters.