Top

ovirtsdk4.http module

Classes

class Request

This class represents an HTTP request.

This class is intended for internal use by other components of the SDK. Refrain from using it directly as there is no backwards compatibility guarantee.

Ancestors (in MRO)

Instance variables

var body

var headers

var method

var path

var query

Methods

def __init__(

self, method='GET', path='', query=None, headers=None, body=None)

class Response

This class represents an HTTP response.

This class is intended for internal use by other components of the SDK. Refrain from using it directly as there is no backwards compatibility guarantee.

Ancestors (in MRO)

Instance variables

var body

var code

var headers

var message

Methods

def __init__(

self, body=None, code=None, headers=None, message=None)