cherrypy.lib.headers module¶
headers.
- cherrypy.lib.headers.parse_header(line)[source]¶
Parse a Content-type like header.
Return the main content-type and a dictionary of options.
Copied from removed stdlib cgi module. See cherrypy/cherrypy#2014 (comment) for background.