request.setState("tidy", "ok");
} else {
if (getValidStrict() == true ){
// tidy failed and a file MUST validate -> refuse put
Reply reply = request.makeReply(HTTP.FORBIDDEN) ;
HtmlGenerator g = new HtmlGenerator("Not Acceptable");
g.append("<p>This HTML code does not validate. Valid"
+ "code is required here</p>"
+ "<p>Warnings: " + tidy.getParseWarnings()
+ " Errors: "+tidy.getParseErrors()+"</p>");
reply.setStream(g);