Lines Matching refs:pdict
155 ctype, pdict = parse_header(environ['CONTENT_TYPE'])
157 return parse_multipart(fp, pdict)
184 def parse_multipart(fp, pdict, encoding="utf-8", errors="replace"): argument
199 boundary = pdict['boundary'].decode('ascii')
204 headers['Content-Length'] = pdict['CONTENT-LENGTH']
231 pdict = {}
240 pdict[name] = value
241 return key, pdict
419 cdisp, pdict = "", {}
421 cdisp, pdict = parse_header(self.headers['content-disposition'])
423 self.disposition_options = pdict
425 if 'name' in pdict:
426 self.name = pdict['name']
428 if 'filename' in pdict:
429 self.filename = pdict['filename']
445 ctype, pdict = parse_header(self.headers['content-type'])
447 ctype, pdict = "text/plain", {}
449 ctype, pdict = 'application/x-www-form-urlencoded', {}
451 self.type_options = pdict
452 if 'boundary' in pdict:
453 self.innerboundary = pdict['boundary'].encode(self.encoding,