antes de a?adir la clase Comic de YACReader a YACReaderLibrary

navegaci?n web con paginaci?n rudimentaria implementada
This commit is contained in:
Luis Ángel San Martín
2012-09-05 19:41:52 +02:00
parent 2afe3101b1
commit cbee662df4
33 changed files with 515 additions and 30 deletions

View File

@ -119,6 +119,8 @@ void StaticFileController::setContentType(QString fileName, HttpResponse& respon
else if (fileName.endsWith(".html") || fileName.endsWith(".htm")) {
response.setHeader("Content-Type", qPrintable("text/html; charset=charset="+encoding));
}
else if (fileName.endsWith(".js"))
response.setHeader("Content-Type", qPrintable("text/javascript; charset=charset="+encoding));
// Todo: add all of your content types
}