protected Response newInputStreamResponse(String mimeType, InputStream in) {
if (in == null) {
return NanoHTTPD.newFixedLengthResponse(Status.NO_CONTENT, "",
protected Response newInputStreamResponse(String mimeType, InputStream in) {
if (in == null) {
return NanoHTTPD.newFixedLengthResponse(Status.NO_CONTENT, "",