code: def add_header(self, key, value):
          
  
          assert isinstance(key, str), 'header key must be of type str'
          assert isinstance(value, str), 'header value must be of type str'
          self.headers[key] = value
docs: Add a response header