Nyall Dawson
43df43fb32
Fix build
2019-01-10 10:25:08 +10:00
Blottiere Paul
fcc3996ddf
Remove unnecessary #include in server
2019-01-10 07:50:02 +10:00
Nyall Dawson
92af1dacaf
Replace default constructors/destructors with = default
2017-10-01 06:52:14 +10:00
Alessandro Pasotti
b7d6c1e59e
[server] Python plugins API cleanup part 1
...
This is the first step to a cleaner and consitent API
for server plugin.
It also adds some new tests for the base request and
response classes
2017-05-03 10:57:39 +02:00
Alessandro Pasotti
76d8650358
[server] Moved QgsFcgiServerRequest into its own header and cpp file
2017-04-29 12:12:49 +02:00
Alessandro Pasotti
7f08e7206f
[server] More Qt-style getter changes getHeader( key ) -> header( key )
2017-04-22 10:27:10 +02:00
Alessandro Pasotti
d03b005969
[server] Expose HTTP status code and test refactoring
...
* Renamed returnCode to statusCode (as per RFC https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html )
* Expose statusCode to server iface
* API Break: Renamed getHeader() to header() Qt-style
* Split server plugin filter tests in its own test file
* Added tests for clearBody() and body() getter
2017-04-22 10:17:08 +02:00
David Marteau
a55390e319
Restore body() accessor in QgsRequestHandler
...
Restore clearBody() method in QgsRequestHandler
2017-04-21 14:33:10 +02:00
Denis Rouzaud
2e7de50b42
run astyle on src/*
2017-03-03 09:09:37 +01:00
David Marteau
8e025ae75e
Move request logging to request object
2017-01-20 11:32:24 +01:00
David Marteau
8b0526d678
Revisit server exceptions
...
- Add server exception base class
- Enable per service exception definition
- Handle QgsException gracefully (error 500)
- Handle OGC exception versioning
2017-01-14 22:17:45 +01:00
David Marteau
4f996980be
Replace headersWritten by headersSent
2017-01-10 14:34:18 +01:00
David Marteau
4a7692998e
Port wmsserver changes to service
2017-01-10 14:34:18 +01:00
David Marteau
485ea82e3d
Ensure url is complete in fcgi request
2017-01-10 14:34:18 +01:00
David Marteau
262969015d
Add headers keys and value accessors
2017-01-10 14:34:18 +01:00
David Marteau
64fc56c808
Implement QgsFcgiRequest and QgsFcgiResponse
2017-01-10 14:34:17 +01:00