def serve ( application , host = '127.0.0.1' , port = 8080 , threads = 4 , * * kw ) : # Bind and start the server; this is a blocking process. serve_ ( application , host = host , port = int ( port ) , threads = int ( threads ) , * * kw )
python webserver on demand streaming
The recommended development HTTP server . Note that this server performs additional buffering and will not honour chunked encoding breaks .
def serve(application, host='127.0.0.1', port=8080, threads=4, **kw):
	"""The recommended development HTTP server.
	
	Note that this server performs additional buffering and will not honour chunked encoding breaks.
	"""
	
	# Bind and start the server; this is a blocking process.
	serve_(application, host=host, port=int(port), threads=int(threads), **kw)