parameters: (self, method)
docstring: Prepares the given HTTP method.
docstring_summary: Prepares the given HTTP method.
docstring_tokens: Prepares the given HTTP method .
function: def prepare_method(self, method):
          """Prepares the given HTTP method."""
          self.method = method
          if self.method is not None:
              self.method = to_native_string(self.method.upper())
function_tokens: def prepare_method ( self , method ) : self . method = method if self . method is not None : self . method = to_native_string ( self . method . upper ( ) )