'Returns the default HTTP status message for the given code.
Args:
code: the HTTP code for which we want a message'

def http_status_message(code):

    if (not Response.__HTTP_STATUS_MESSAGES.has_key(code)):
        raise Error(('Invalid    HTTP    status    code:    %d' % code))
    return Response.__HTTP_STATUS_MESSAGES[code]
