1// Copyright (C) 2019 Mikhail Svetkin <mikhail.svetkin@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QHTTPSERVERLITERALS_P_H
6#define QHTTPSERVERLITERALS_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of QHttpServer. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17
18#include <QtHttpServer/qthttpserverglobal.h>
19
20#include <QtCore/qstringfwd.h>
21
22QT_BEGIN_NAMESPACE
23
24namespace QHttpServerLiterals {
25
26QByteArray contentTypeXEmpty();
27QByteArray contentTypeTextHtml();
28QByteArray contentTypeJson();
29
30}
31
32QT_END_NAMESPACE
33
34#endif // QHTTPSERVERLITERALS_P_H
35

source code of qthttpserver/src/httpserver/qhttpserverliterals_p.h