python3-headerparser

Parse key-value pairs in RFC 822 style headers
  https://github.com/jwodder/headerparser
  0
  no reviews



This Python module parses key-value pairs in the style of RFC 822 (e-mail) headers and converts them into case-insensitive dictionaries with the trailing message body (if any) attached. Low-level functions for just scanning header fields (breaking them into sequences of key-value pairs without any further processing) are also included.