Permalink
Browse files

My bad :(

  • Loading branch information...
LordFokas committed Sep 10, 2016
1 parent cac70b7 commit 151cdb046abbd2dbc1e046e3da5cebeb6f5ac427
Showing with 1 addition and 1 deletion.
  1. +1 −1 nanolets/src/main/java/org/nanohttpd/router/RouterNanoHTTPD.java
@@ -235,7 +235,7 @@ public Response get(UriResource uriResource, Map<String, String> urlParams, IHTT
try {
return Response.newChunkedResponse(getStatus(), getMimeTypeForFile(fileOrdirectory.getName()), fileToInputStream(fileOrdirectory));
} catch (IOException ioe) {
return Response.newFixedLengthResponse(Status.REQUEST_TIMEOUT, "text/plain", null);
return Response.newFixedLengthResponse(Status.REQUEST_TIMEOUT, "text/plain", (String) null);
}
}
}

0 comments on commit 151cdb0

Please sign in to comment.