mirror of
https://github.com/YACReader/yacreader
synced 2025-07-17 20:44:32 -04:00
fixed Content-Type for various controllers
This commit is contained in:
@ -12,7 +12,7 @@ FolderInfoController::FolderInfoController() {}
|
||||
|
||||
void FolderInfoController::service(HttpRequest& request, HttpResponse& response)
|
||||
{
|
||||
response.setHeader("Content-Type", "plain/text; charset=utf-8");
|
||||
response.setHeader("Content-Type", "text/plain; charset=utf-8");
|
||||
|
||||
QString path = QUrl::fromPercentEncoding(request.getPath()).toUtf8();
|
||||
QStringList pathElements = path.split('/');
|
||||
|
Reference in New Issue
Block a user