class_docstr: Manage a collection of HTTP response headers
class_docstr_tok: ["Manage","a","collection","of","HTTP","response","headers"]
docstr: Convert/check value type.
docstr_tok: ["Convert\/check","value","type","."]
code: def _convert_string_type(self, value):
      """Convert/check value type."""
      if type(value) is str:
          return value
      raise AssertionError(
          "Header names/values must be"
          " of type str (got {0})".format(repr(value))
      )
  
file_path: cpython/Lib/wsgiref/headers.py
imports: import re
label_desc: Use image node_id 2 for calling the Headers obj's underlying member method code with example usage: obj._convert_string_type(value) and returns: value