Use email package for HTTP header retrieval and parsing; also fixes potential issue with not handling a quoted filename in content-disposition header.
Use email package for HTTP header retrieval and parsing; also fixes
potential issue with not handling a quoted filename in
content-disposition header.

  content-disposition: attachment; filename="sample"

btorresgil/pan-python