class_docstr: Manage a collection of HTTP response headers
class_docstr_tok: ["Manage","a","collection","of","HTTP","response","headers"]
docstr: Get the first header value for 'name'
  
  Return None if the header is missing instead of raising an exception.
  
  Note that if the header appeared multiple times, the first exactly which
  occurrence gets returned is undefined.  Use getall() to get all
  the values matching a header field name.
docstr_tok: ["Get","the","first","header","value","for","'name'","Return","None","if","the","header","is","missing","instead","of","raising","an","exception",".","Note","that","if","the","header","appeared","multiple","times",",","the","first","exactly","which","occurrence","gets","returned","is","undefined",".","Use","getall","(",")","to","get","all","the","values","matching","a","header","field","name","."]
code: def __getitem__(self, name):
      """Get the first header value for 'name'
  
      Return None if the header is missing instead of raising an exception.
  
      Note that if the header appeared multiple times, the first exactly which
      occurrence gets returned is undefined.  Use getall() to get all
      the values matching a header field name.
      """
      return self.get(name)
  
file_path: cpython/Lib/wsgiref/headers.py
imports: import re
label_desc: Use image node_id 6 for calling the Headers obj's underlying member method code with example usage: obj.__getitem__(name) and returns: self