code: def request(self, path, method='GET', params=None, data=None, files=None,
                  headers=None, raw=False, allow_redirects=True, stream=False,
                  timeout=None):
          
          if not headers:
              headers = {}
  
          if timeout is None:
              timeout = self.timeout
  
          # All requests must include oauth_token
          headers['Authorization'] = 'token %s' % self.access_token
  
          if path.startswith(('http://', 'https://')):
              url = path
          else:
              url = BASE_URL + path
          logger.debug('url: %s', url)
  
          response = self.session.request(
              method, url, params=params, data=data, files=files,
              headers=headers, allow_redirects=allow_redirects, stream=stream,
              timeout=self.timeout)
          logger.debug('response: %s', response)
          if raw:
              return response
  
          return _process_response(response)
docs: Wrapper around requests.request()
  
          Prepends BASE_URL to path.
          Adds self.oauth_token to authorization header.
          Parses response as JSON and returns it.