mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
The goals are: * To have better result in the GetCapabilities URL without having to fill it in the Project configuration * Be able to be set by an integrator with environment variable or by providing headers from a proxy The server resolution will use the following order: - Value defined in the project per service. - The ``<service>_SERVICE_URL`` environment variable. - The ``SERVICE_URL`` environment variable. - The custom ``X-Qgis-<service>-Servcie-Url`` header. - The custom ``X-Qgis-Service-Url`` header. - Build form the standard ``Forwarded`` header. - Build form the pseudo standard ``X-Forwarded-Host`` and ``X-Forwarded-Proto`` headers. - Build form the standard ``Host`` header and the server protocol. - Build form the server name and the server protocol.
56 lines
1.6 KiB
Plaintext
56 lines
1.6 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/server/qgsfcgiserverrequest.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsFcgiServerRequest: QgsServerRequest
|
|
{
|
|
%Docstring(signature="appended")
|
|
Class defining fcgi request
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsfcgiserverrequest.h"
|
|
%End
|
|
public:
|
|
QgsFcgiServerRequest();
|
|
|
|
virtual QByteArray data() const;
|
|
|
|
|
|
bool hasError() const;
|
|
%Docstring
|
|
Returns ``True`` if an error occurred during initialization
|
|
%End
|
|
|
|
virtual QString header( const QString &name ) const;
|
|
|
|
%Docstring
|
|
Returns the header value
|
|
|
|
:param name: of the header
|
|
|
|
:return: the header value or an empty string
|
|
|
|
.. versionadded:: 3.20
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/server/qgsfcgiserverrequest.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|