Skip to content

fix(worker): ensure that requests body are proxied#263

Merged
augustoccesar merged 1 commit intomainfrom
augustoccesar/fix-delete-with-empty-body
Mar 19, 2026
Merged

fix(worker): ensure that requests body are proxied#263
augustoccesar merged 1 commit intomainfrom
augustoccesar/fix-delete-with-empty-body

Conversation

@augustoccesar
Copy link
Member

We were seeing body for DELETE requests not being proxied correctly when going through the worker deployed on Cloudflare.
The root seems to be on the TryFrom for the worker::Request ignoring the body on DELETE requests on the worker. Now we are constructing the worker Request manually to ensure the body is present.

@augustoccesar augustoccesar self-assigned this Mar 19, 2026
@augustoccesar augustoccesar marked this pull request as draft March 19, 2026 10:00
@augustoccesar augustoccesar removed the request for review from charlottea98 March 19, 2026 10:00
We were seeing body for DELETE requests not being proxied correctly when going through the worker
deployed on Cloudflare.
The root seems to be on the TryFrom for the worker::Request ignoring the body on DELETE requests
on the worker. Now we are constructing the worker Request manually to ensure the body is present.
@augustoccesar augustoccesar force-pushed the augustoccesar/fix-delete-with-empty-body branch from 8598720 to 4266341 Compare March 19, 2026 10:16
@augustoccesar augustoccesar marked this pull request as ready for review March 19, 2026 10:24
@augustoccesar augustoccesar merged commit cff0405 into main Mar 19, 2026
6 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/fix-delete-with-empty-body branch March 19, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants