def _consume_section_header(self):
        # type: () -> unicode
        section = next(self._line_iter)  # type: ignore
        stripped_section = section.strip(':')
        if stripped_section.lower() in self._sections:
            section = stripped_section
        return section