code: def get_sentry_data_from_request(self):
          
          return {
              'request': {
                  'url': self.request.full_url(),
                  'method': self.request.method,
                  'data': self.request.body,
                  'query_string': self.request.query,
                  'cookies': self.request.headers.get('Cookie', None),
                  'headers': dict(self.request.headers),
              }
          }
docs: Extracts the data required for 'sentry.interfaces.Http' from the
          current request being handled by the request handler
  
          :param return: A dictionary.