From a1026f03dbae1b4cfb7b82ae8d286be83c1e2e0b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 12 Dec 2025 11:50:14 -0800 Subject: [PATCH] Fix: use request.stream instead of request.content (#11591) --- src/documents/workflows/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/workflows/webhooks.py b/src/documents/workflows/webhooks.py index 49fb09f6d..a0256873a 100644 --- a/src/documents/workflows/webhooks.py +++ b/src/documents/workflows/webhooks.py @@ -62,7 +62,7 @@ class WebhookTransport(httpx.HTTPTransport): method=request.method, url=new_url, headers=new_headers, - content=request.content, + content=request.stream, extensions=request.extensions, ) request.extensions["sni_hostname"] = hostname