9.1.1.1.1.2.1.3. GeoHealthCheck.plugins.probe.http
9.1.1.1.1.2.1.3.1. Module Contents
9.1.1.1.1.2.1.3.1.1. Classes
Do HTTP GET Request, to poll/ping any Resource bare url. |
|
Do HTTP GET Request, to poll/ping any Resource bare url with query string. |
|
Do HTTP POST Request, to send POST request to |
- class GeoHealthCheck.plugins.probe.http.HttpGet
Bases:
GeoHealthCheck.probe.Probe
Do HTTP GET Request, to poll/ping any Resource bare url.
- NAME = 'HTTP GET Resource URL'
- DESCRIPTION = 'Simple HTTP GET on Resource URL'
- RESOURCE_TYPE = '*:*'
- REQUEST_METHOD = 'GET'
- CHECKS_AVAIL
Checks avail
- class GeoHealthCheck.plugins.probe.http.HttpGetQuery
Bases:
HttpGet
Do HTTP GET Request, to poll/ping any Resource bare url with query string.
- NAME = 'HTTP GET Resource URL with query'
- DESCRIPTION = Multiline-String
Show Value
""" HTTP GET Resource URL with ?query string to be user-supplied (without ?) """
- REQUEST_TEMPLATE = '?{query}'
- PARAM_DEFS
Param defs
- class GeoHealthCheck.plugins.probe.http.HttpPost
Bases:
HttpGet
Do HTTP POST Request, to send POST request to Resource bare url with POST body.
- NAME = 'HTTP POST Resource URL with body'
- DESCRIPTION = Multiline-String
Show Value
""" HTTP POST to Resource URL with body content(-type) to be user-supplied """
- REQUEST_METHOD = 'POST'
- REQUEST_HEADERS
- REQUEST_TEMPLATE = '{body}'
- PARAM_DEFS
Param defs
- get_request_headers()
Overridden from Probe: construct request_headers via parameter substitution from content_type Parameter.