code: def cancel(self):
          '''Cancel any request.'''
          if self._body:
              self._body._cancel = True
          else:
              self._cancel = Truf cancel(self):
          '''Cancel any request.'''
          if self._body:
              self._body._cancel = True
          else:
              self._cancel = True
docs: Cancel any request.