releases.shpreview

WebSocket upgrades now work for WSGI apps

@vercel/python-runtime@0.16.0

June 26, 2026Vercel CLIView original ↗
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 WSGI environ as werkzeug.socket / gunicorn.socket for WebSocket upgrade requests, and ends the request lifecycle once the 101 handshake is written so the platform can begin bidirectional streaming — matching the ASGI websocket.accept behavior.

Fetched June 26, 2026

WebSocket upgrades now work for WSGI apps… — releases.sh