Lines Matching defs:content
51 Comment tokens also have a 'content' attribute providing the string found
190 return [x.content for x in self if x.token_type=='comment']
229 def content(self):
282 def content(self):
287 return [self.content]
822 token_type = 'content-type'
829 token_type = 'content-disposition'
835 token_type = 'content-transfer-encoding'
1743 the content of the phrase.
1997 "address-list entry with no content"))
2533 # Treat the rest of value as bare quoted string content.
2582 "parameter entry with no content"))
2632 "Missing content type specification"))
2638 "Expected content maintype but found {!r}".format(value)))
2646 "Invalid content type"))
2651 ctype.append(ValueTerminal('/', 'content-type-separator'))
2657 "Expected content subtype but found {!r}".format(value)))
2666 "Only parameters are valid after content type, but "
2668 # The RFC requires that a syntactically invalid content-type be treated
2685 "Missing content disposition"))
2691 "Expected content disposition but found {!r}".format(value)))
2700 "Only parameters are valid after content disposition, but "
2716 "Missing content transfer encoding"))
2722 "Expected content transfer encoding but found {!r}".format(value)))
2730 "Extra text after content transfer encoding"))