code: def send(self):
          
  
          if hasattr(self, 'request'):
              self.request.responded = True
          self.connection.writer.write(str(self).encode())
          yield from self.connection.writer.drain()
docs: Send the response header, including the status line and all the
          HTTP headers.