mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
58 lines
1.7 KiB
Plaintext
58 lines
1.7 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
|
|
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 QUrl url() const;
|
|
|
|
%Docstring
|
|
|
|
:return: the request url
|
|
|
|
Overrides base implementation because FCGI is typically behind
|
|
a proxy server and QGIS Server will see a rewritten QUERY_STRING.
|
|
FCGI implementation stores the REQUEST_URI (which is the URL seen
|
|
by the proxy before it gets rewritten) and returns it instead of
|
|
the rewritten one.
|
|
%End
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/server/qgsfcgiserverrequest.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|