code: def detect_request_method(self):
          
  
          method = self.config['method']
          if method:
              method = method.upper()
          else:
              if self.config['post'] or self.config['multipart_post']:
                  method = 'POST'
              else:
                  method = 'GET'
          return method
docs: Analyze request config and find which
          request method will be used.
  
          Returns request method in upper case
  
          This method needs simetime when `process_config` method
          was not called yet.