ByteArrayOutputStream out = new ByteArrayOutputStream();
target.getInputStream().copyTo(out);
request.log(Server.LOG_DIAGNOSTIC,
" parsing/modifying " + out.size() + " bytes");
byte[] content = modifyContent(request, out.toByteArray());
if (content == null) { // This is wrong!!
request.log(Server.LOG_DIAGNOSTIC,
" null content, returning false");
code=false;