class_docstr: Manage a collection of HTTP response headers
class_docstr_tok: ["Manage","a","collection","of","HTTP","response","headers"]
docstr: Set the value of a header.
docstr_tok: ["Set","the","value","of","a","header","."]
code: def __setitem__(self, name, val):
      """Set the value of a header."""
      del self[name]
      self._headers.append(
          (
              self._convert_string_type(name),
              self._convert_string_type(val),
          )
      )
  
file_path: cpython/Lib/wsgiref/headers.py
imports: import re
label_desc: Use image node_id 4 for calling the Headers obj's underlying member method code with example usage: obj.__setitem__(name, val) without return types