'Construct me.
These parameters are assigned directly as class attributes, see
my L{class documentation<WebResponse>} for their descriptions.'

def __init__(self, code=HTTP_OK, headers=None, body=''):

    self.code = code
    if (headers is not None):
        self.headers = headers
    else:
        self.headers = {}
    self.body = body
