parameters: (self, code, message=None)
docstring: Sets the HTTP status code of this response.
  
          :param code:
              The HTTP status string to use
          :param message:
              A status string. If none is given, uses the default from the
              HTTP/1.1 specification.
docstring_summary: Sets the HTTP status code of this response.
docstring_tokens: Sets the HTTP status code of this response .
function: def set_status(self, code, message=None):
          """Sets the HTTP status code of this response.
  
          :param code:
              The HTTP status string to use
          :param message:
              A status string. If none is given, uses the default from the
              HTTP/1.1 specification.
          """
          if message:
              self.status = '%d %s' % (code, message)
          else:
              self.status = code
function_tokens: def set_status ( self , code , message = None ) : if message : self . status = '%d %s' % ( code , message ) else : self . status = code