http.Response
HTTP response body and status code.
Members
body
http.Response.bodystringResponse body as a string.
retry_after
http.Response.retry_aftertimePositive Retry-After duration, or zero when the response did not provide one.
status_code
http.Response.status_codeintHTTP status code.
raise_for_status
http.Response.raise_for_status()Fail unless the status code is 2xx. The error carries only the status code, never the response body or headers. Combine with maestro={“use_result”: True} to branch instead of failing.