(self, headers: ty.Dict[str, str])
Yields the HTTP header text for some content
		
		Parameters
		----------
		headers
			The headers to yield
Yields the HTTP header text for some content
		
		Parameters
		----------
		headers
			The headers to yield
Yields the HTTP header text for some content Parameters ---------- headers The headers to yield
def _gen_headers(self, headers: ty.Dict[str, str]) -> gen_bytes_t:
		"""Yields the HTTP header text for some content
		
		Parameters
		----------
		headers
			The headers to yield
		"""
		for name, value in sorted(headers.items(), key=lambda i: i[0]):
			yield b"%s: %s\r\n" % (name.encode("ascii"), value.encode("utf-8"))
		yield b"\r\n"
def _gen_headers ( self , headers : ty . Dict [ str , str ] ) -> gen_bytes_t : for name , value in sorted ( headers . items ( ) , key = lambda i : i [ 0 ] ) : yield b"%s: %s\r\n" % ( name . encode ( "ascii" ) , value . encode ( "utf-8" ) ) yield b"\r\n"