Azure
Functions support for HTTP streams in Python is now GA. With
this feature, customers can stream HTTP requests to and responses from their
Function Apps, using function exposed FastAPI request and response APIs.
Previously with HTTP requests, the amount of data that could be
transmitted was limited at the SKU instance memory size. With HTTP streaming,
large amounts of data can be processed with chunking.
This feature
enables new scenarios including processing large data streaming OpenAI
responses and delivering dynamic content. You can leverage this feature for use
cases where real time exchange and interaction between client and server over
HTTP connections is needed. Additionally, FastAPI response types are supported
with this feature.
Learn more.