You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iframe-proxy: serve error page on HTML body truncation
When an upstream HTML response exceeds HTML_BODY_LIMIT, collectBody
previously destroyed the stream and handed back the partial bytes, which
were then instrumented and served as a truncated document. Serve a clear
"exceeded HTML_BODY_LIMIT of N MB" error page instead, so we never ship
half a page (where the shim may have landed past the cutoff).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
message: `The HTML response from ${upstream.href} exceeded HTML_BODY_LIMIT of ${limit}, so it couldn’t be instrumented and shown in an iframe surface.`,
0 commit comments