(boundary: str, subtype: str = 'mixed')
return {'Content-Type': ctype}
Creates a MIME multipart header with the given configuration.
	
	Returns a dict containing a MIME multipart header with the given
	boundary.
	
	.. code-block:: python
	
		>>> multipart_content_type_headers('8K5rNKlLQVyreRNncxOTeg')
		{'Content-Type': 'multipart/mixed; boundary="8K5rNKlLQVyreRNncxOTeg"'}
		
		>>> multipart_content_type_headers('8K5rNKlLQVyreRNncxOTeg', 'alt')
		{'Content-Type': 'multipart/alt; boundary="8K5rNKlLQVyreRNncxOTeg"'}
	
	Parameters
	----------
	boundary
		The content delimiter to put into the header
	subtype
		The subtype in :mimetype:`multipart/*`-domain to put into the header
Creates a MIME multipart header with the given configuration.
	
	Returns a dict containing a MIME multipart header with the given
	boundary.
	
	.. code-block:: python
	
		>>> multipart_content_type_headers('8K5rNKlLQVyreRNncxOTeg')
		{'Content-Type': 'multipart/mixed; boundary="8K5rNKlLQVyreRNncxOTeg"'}
		
		>>> multipart_content_type_headers('8K5rNKlLQVyreRNncxOTeg', 'alt')
		{'Content-Type': 'multipart/alt; boundary="8K5rNKlLQVyreRNncxOTeg"'}
	
	Parameters
	----------
	boundary
		The content delimiter to put into the header
	subtype
		The subtype in :mimetype:`multipart/*`-domain to put into the header
Creates a MIME multipart header with the given configuration . Returns a dict containing a MIME multipart header with the given boundary . .. code - block :: python >>> multipart_content_type_headers ( 8K5rNKlLQVyreRNncxOTeg ) { Content - Type : multipart / mixed ; boundary = 8K5rNKlLQVyreRNncxOTeg } >>> multipart_content_type_headers ( 8K5rNKlLQVyreRNncxOTeg alt ) { Content - Type : multipart / alt ; boundary = 8K5rNKlLQVyreRNncxOTeg } Parameters ---------- boundary The content delimiter to put into the header subtype The subtype in : mimetype : multipart / * - domain to put into the header
def multipart_content_type_headers(boundary: str, subtype: str = 'mixed') -> ty.Dict[str, str]:
	"""Creates a MIME multipart header with the given configuration.
	
	Returns a dict containing a MIME multipart header with the given
	boundary.
	
	.. code-block:: python
	
		>>> multipart_content_type_headers('8K5rNKlLQVyreRNncxOTeg')
		{'Content-Type': 'multipart/mixed; boundary="8K5rNKlLQVyreRNncxOTeg"'}
		
		>>> multipart_content_type_headers('8K5rNKlLQVyreRNncxOTeg', 'alt')
		{'Content-Type': 'multipart/alt; boundary="8K5rNKlLQVyreRNncxOTeg"'}
	
	Parameters
	----------
	boundary
		The content delimiter to put into the header
	subtype
		The subtype in :mimetype:`multipart/*`-domain to put into the header
	"""
	ctype = 'multipart/{}; boundary="{}"'.format(
		subtype,
		boundary
	)
	return {'Content-Type': ctype}
def multipart_content_type_headers ( boundary : str , subtype : str = 'mixed' ) -> ty . Dict [ str , str ] : ctype = 'multipart/{}; boundary="{}"' . format ( subtype , boundary ) return { 'Content-Type' : ctype }