Utils Config
Configs: main | alerting | metrics | oauth | probes | rds | servers | surfacer | targets | tlsconfig | utils | validators
|
Language: |
cloudprober.utils.httpreq.HTTPRequest #
url: <string> method: (GET|POST|PUT|DELETE|HEAD|OPTIONS|PATCH): <enum># Data to be sent as request body. If there are multiple "data" fields, we combine # their values with a '&' in between. Note: 1) If data appears to be a valid json, # we automatically set the content-type header to "application/json", 2) If data # appears to be a query string we set content-type to # "application/x-www-form-urlencoded". Content type header can still be overridden # using the header field below.data: <string># HTTP request headersheader: <cloudprober.utils.httpreq.HTTPRequest.HeaderEntry>
cloudprober.utils.httpreq.HTTPRequest.HeaderEntry #
key: <string> value: <string>
cloudprober.utils.httpreq.HTTPRequest #
url: <string> method: (GET|POST|PUT|DELETE|HEAD|OPTIONS|PATCH): <enum># Data to be sent as request body. If there are multiple "data" fields, we combine # their values with a '&' in between. Note: 1) If data appears to be a valid json, # we automatically set the content-type header to "application/json", 2) If data # appears to be a query string we set content-type to # "application/x-www-form-urlencoded". Content type header can still be overridden # using the header field below.data: <string># HTTP request headersheader: <cloudprober.utils.httpreq.HTTPRequest.HeaderEntry>
cloudprober.utils.httpreq.HTTPRequest.HeaderEntry #
key: <string> value: <string>