mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
This part adds the headers as an optional argument to the request and start using the handleRequest(request, response) call in the python tests. Some additional tests are also added.
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* ../src/server/qgsbufferserverrequest.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsBufferServerRequest : QgsServerRequest
|
|
{
|
|
%Docstring
|
|
QgsBufferServerRequest
|
|
Class defining request with data
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsbufferserverrequest.h"
|
|
%End
|
|
public:
|
|
|
|
QgsBufferServerRequest( const QString &url, Method method = GetMethod, const QgsServerRequest::Headers &headers = QgsServerRequest::Headers( ), QByteArray *data = 0 );
|
|
%Docstring
|
|
Constructor
|
|
|
|
\param url the url string
|
|
\param method the request method
|
|
%End
|
|
|
|
QgsBufferServerRequest( const QUrl &url, Method method = GetMethod, const QgsServerRequest::Headers &headers = QgsServerRequest::Headers( ), QByteArray *data = 0 );
|
|
%Docstring
|
|
Constructor
|
|
|
|
\param url QUrl
|
|
\param method the request method
|
|
%End
|
|
|
|
~QgsBufferServerRequest();
|
|
|
|
virtual QByteArray data() const;
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* ../src/server/qgsbufferserverrequest.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|