{"library":"pyrfc6266","title":"pyrfc6266","description":"A Python implementation of RFC 6266 for parsing Content-Disposition headers. Version 1.0.2 is the current stable release. Low release cadence; last updated in 2021.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install pyrfc6266"],"cli":null},"imports":["from pyrfc6266 import ContentDisposition"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pyrfc6266 import ContentDisposition\n\nheader = 'attachment; filename=\"example.txt\"'\ncd = ContentDisposition.parse(header)\nprint(cd.filename_utf8)  # 'example.txt'\nprint(cd.disposition_type)  # 'attachment'","lang":"python","description":"Parse a Content-Disposition header and extract the filename.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}