'Setter for body.
@body: A string that represents the body of the HTTP response'

def set_body(self, body):

    if (not isinstance(body, basestring)):
        msg = 'Invalid    type    %s    for    set_body    parameter    body.'
        raise TypeError((msg % type(body)))
    self._body = None
    self._raw_body = body
