}
else
output = request.serialize(target);
innerResponse.setHeader("Last-Modified", "" + new Date()); // TODO: This should come from the transaction
innerResponse.getOutputStream().print(output);
String message = innerResponse.asString();
response.getOutputStream().print(message);
response.getOutputStream().flush();
return message.length();
}