Home | History | Annotate | Download | only in python2.7

Lines Matching refs:pdict

149         ctype, pdict = parse_header(environ['CONTENT_TYPE'])
151 return parse_multipart(fp, pdict)
193 def parse_multipart(fp, pdict):
198 pdict: dictionary containing other parameters of content-type header
219 if 'boundary' in pdict:
220 boundary = pdict['boundary']
311 pdict = {}
320 pdict[name] = value
321 return key, pdict
457 cdisp, pdict = "", {}
459 cdisp, pdict = parse_header(self.headers['content-disposition'])
461 self.disposition_options = pdict
463 if 'name' in pdict:
464 self.name = pdict['name']
466 if 'filename' in pdict:
467 self.filename = pdict['filename']
482 ctype, pdict = parse_header(self.headers['content-type'])
484 ctype, pdict = "text/plain", {}
486 ctype, pdict = 'application/x-www-form-urlencoded', {}
488 self.type_options = pdict
490 if 'boundary' in pdict:
491 self.innerboundary = pdict['boundary']