Utils Config


| 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 headers
header: <cloudprober.utils.httpreq.HTTPRequest.HeaderEntry>

cloudprober.utils.httpreq.HTTPRequest.HeaderEntry #


key: <string>

value: <string>