mirror of
https://github.com/YACReader/yacreader
synced 2025-07-16 12:04:34 -04:00
YACReader
YACReaderLibrary
YACReaderLibraryServer
ci
common
compressed_archive
custom_widgets
dependencies
files
images
release
shortcuts_management
tests
third_party
QsLog
QtWebApp
httpserver
httpconnectionhandler.cpp
httpconnectionhandler.h
httpconnectionhandlerpool.cpp
httpconnectionhandlerpool.h
httpcookie.cpp
httpcookie.h
httpglobal.cpp
httpglobal.h
httplistener.cpp
httplistener.h
httprequest.cpp
httprequest.h
httprequesthandler.cpp
httprequesthandler.h
httpresponse.cpp
httpresponse.h
httpserver.pri
httpsession.cpp
httpsession.h
httpsessionstore.cpp
httpsessionstore.h
staticfilecontroller.cpp
staticfilecontroller.h
templateengine
.clang-format
CHANGELOG.txt
LICENSE.txt
README.txt
README.md
.clang-format
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
COPYING.txt
INSTALL.md
README.md
YACReader.1
YACReader.desktop
YACReader.pro
YACReader.svg
YACReaderLibrary.1
YACReaderLibrary.desktop
YACReaderLibrary.svg
azure-pipelines-build-number.yml
azure-pipelines-windows-template.yml
azure-pipelines.yml
background.png
background@2x.png
cleanOSX.sh
compileOSX.sh
config.pri
dmg.json
icon.icns
mktarball.sh
signapps.sh
24 lines
624 B
C++
24 lines
624 B
C++
/**
|
|
@file
|
|
@author Stefan Frings
|
|
*/
|
|
|
|
#include "httprequesthandler.h"
|
|
|
|
using namespace stefanfrings;
|
|
|
|
HttpRequestHandler::HttpRequestHandler(QObject* parent)
|
|
: QObject(parent)
|
|
{}
|
|
|
|
HttpRequestHandler::~HttpRequestHandler()
|
|
{}
|
|
|
|
void HttpRequestHandler::service(HttpRequest& request, HttpResponse& response)
|
|
{
|
|
qCritical("HttpRequestHandler: you need to override the service() function");
|
|
qDebug("HttpRequestHandler: request=%s %s %s",request.getMethod().data(),request.getPath().data(),request.getVersion().data());
|
|
response.setStatus(501,"not implemented");
|
|
response.write("501 not implemented",true);
|
|
}
|