Skip to content

Reset request body when open() is called#404

Merged
annevk merged 2 commits into
whatwg:mainfrom
shannonbooth:request-body
Mar 9, 2026
Merged

Reset request body when open() is called#404
annevk merged 2 commits into
whatwg:mainfrom
shannonbooth:request-body

Conversation

@shannonbooth

@shannonbooth shannonbooth commented Mar 7, 2026

Copy link
Copy Markdown
Member

Otherwise the request body can leak into subsequent requests on the same XHR object.

(See WHATWG Working Mode: Changes for more details.)

shannonbooth and others added 2 commits March 7, 2026 18:28
Otherwise the request body can leak into subsequent requests on
the same XHR object.
@annevk annevk merged commit 38e3f59 into whatwg:main Mar 9, 2026
2 checks passed
@annevk

annevk commented Mar 9, 2026

Copy link
Copy Markdown
Member

Thanks @shannonbooth, nice catch!

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