Lines Matching full:content
29 Content-Type: text/plain; charset="utf-8"
78 Content-Type: image/jpg
90 Content-Type: multipart/alternative; boundary="==="
95 Content-Type: text/plain
100 Content-Type: text/html
113 Content-Type: multipart/mixed; boundary="==="
118 Content-Type: text/plain
123 Content-Type: text/html
137 Content-Type: multipart/mixed; boundary="==="
140 Content-Type: text/plain
145 Content-Type: text/html
146 Content-Disposition: attachment
160 Content-Type: multipart/mixed; boundary="==="
163 Content-Type: text/plain
164 Content-Disposition: AtTaChment
169 Content-Type: text/html
183 Content-Type: multipart/mixed; boundary="==="
186 Content-Type: text/plain
187 Content-Disposition: InLine
192 Content-Type: text/html
193 Content-Disposition: inline
208 Content-Type: multipart/related; boundary="==="; type=text/html
211 Content-Type: text/html
216 Content-Type: image/jpg
217 Content-ID: <image1>
226 # content would not, of course, actually work :)
234 Content-Type: multipart/related; boundary="==="; type=text/html;
238 Content-Type: text/html
239 Content-ID: <include>
244 Content-Type: text/html
245 Content-ID: <body>
261 Content-Type: multipart/mixed; boundary="==="
264 Content-Type: multipart/alternative; boundary="+++"
267 Content-Type: text/plain
272 Content-Type: multipart/related; boundary="___"
275 Content-Type: text/html
280 Content-Type: image/jpg
281 Content-ID: <image1@cid>
290 Content-Type: image/jpg
291 Content-Disposition: attachment
296 Content-Type: image/jpg
297 Content-Disposition: AttacHmenT
313 Content-Type: multipart/mixed; boundary="==="
316 Content-Type: multipart/related; boundary="+++"
319 Content-Type: multipart/alternative; boundary="___"
322 Content-Type: text/plain
327 Content-Type: text/html
334 Content-Type: image/jpg
335 Content-ID: <image1@cid>
342 Content-Type: image/jpg
343 Content-Disposition: attachment
348 Content-Type: image/jpg
349 Content-Disposition: attachment
366 Content-Type: multipart/mixed; boundary="==="
369 Content-Type: multipart/related; boundary="+++"
372 Content-Type: image/jpg
373 Content-ID: <image1@cid>
378 Content-Type: multipart/alternative; boundary="___"
381 Content-Type: text/plain
386 Content-Type: text/html
395 Content-Type: image/jpg
396 Content-Disposition: attachment
401 Content-Type: image/jpg
402 Content-Disposition: attachment
416 Content-Type: message/rfc822
431 Content-Type: multipart/mixed; boundary="==="
434 Content-Type: text/plain
439 Content-Type: message/rfc822
491 return 'Content-Type: multipart' in msg
552 # succeeds, make raises). Note: 'none' means there are content-type
554 # unusual, so treating it as if there were content seems reasonable.
585 ('content-shadow', 'Logrus'),
589 msg_headers.append(('Content-Type', 'text/plain'))
593 msg_headers.append(('Content-Type', 'multipart/' + subtype))
610 if not name.lower().startswith('content-'):
613 self.assertEqual(len(m), count+1) # +1 for new Content-Type
617 if name.lower().startswith('content-'):
635 msg_headers + [('Content-Type',
645 m['Content-Type'] = 'multipart/' + subtype
650 m['Content-Type'] = 'text/plain'
652 m['Content-Type'] = 'multipart/' + subtype
660 m['Content-Type'] = 'text/plain'
665 def set_content(self, msg, content, *args, **kw): argument
666 msg['Content-Type'] = 'text/plain'
667 msg.set_payload(content)
691 self.assertEqual(part['Content-Disposition'], 'attachment')
693 self.assertEqual(part['Content-Disposition'], 'inline')
696 self.assertIsNone(part['Content-Disposition'])
699 def set_content(self, msg, content, *args, **kw): argument
721 if not h.lower().startswith('content-')]
730 m['Content-Disposition'] = 'inline'
732 m.replace_header('Content-Disposition', 'attachment')
734 m.replace_header('Content-Disposition', 'AtTachMent')
736 m.set_param('filename', 'abc.png', 'Content-Disposition')
939 Content-Type: multipart/mixed;
945 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
946 Content-Transfer-Encoding: 7bit
973 Content-Type: multipart/mixed; charset="utf-8"