magpie.owsrequest
¶
The OWSRequest is based on pywps code:
https://github.com/geopython/pywps/tree/pywps-3.2/pywps/Parser
https://github.com/geopython/pywps/blob/master/pywps/app/WPSRequest.py
Module Contents¶
Classes¶
Initialize self. See help(type(self)) for accurate signature. |
|
Basically a case-insensitive query string parser. |
|
Initialize self. See help(type(self)) for accurate signature. |
|
Initialize self. See help(type(self)) for accurate signature. |
Functions¶
|
Retrieve the appropriate |
|
-
magpie.owsrequest.
ows_parser_factory
(request: Request) → OWSParser[source]¶ Retrieve the appropriate
OWSParser
parser using theContent-Type
header.If the
Content-Type
header is missing or ‘text/plain’, and the request has a body, try to parse the body as JSON and set the content-type to ‘application/json’.‘application/x-www-form-urlencoded’
Content-Type
header is also handled correctly.Otherwise, use the GET/POST WPS parsers.
-
class
magpie.owsrequest.
OWSParser
(request)[source]¶ Bases:
object
Initialize self. See help(type(self)) for accurate signature.
-
class
magpie.owsrequest.
WPSGet
(request)[source]¶ Bases:
magpie.owsrequest.OWSParser
Basically a case-insensitive query string parser.
Initialize self. See help(type(self)) for accurate signature.
-
class
magpie.owsrequest.
WPSPost
(request)[source]¶ Bases:
magpie.owsrequest.OWSParser
Initialize self. See help(type(self)) for accurate signature.
-
class
magpie.owsrequest.
MultiFormatParser
(request)[source]¶ Bases:
magpie.owsrequest.OWSParser
Initialize self. See help(type(self)) for accurate signature.