WebSocket upgrades now work for WSGI apps
@vercel/python-runtime@0.16.0
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
From the original release noteView original ↗
Minor Changes
- ee389a1: Support WebSockets for WSGI apps (e.g. Flask via
flask-sock). The runtime now exposes the raw connection socket in the WSGIenvironaswerkzeug.socket/gunicorn.socketfor WebSocket upgrade requests, and ends the request lifecycle once the101handshake is written so the platform can begin bidirectional streaming — matching the ASGIwebsocket.acceptbehavior.
Fetched June 26, 2026

