Reset request body when open() is called · whatwg/xhr@38e3f59
shannonbooth
·
2026-03-09
·
via Recent Commits to xhr:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,14 +12,14 @@ on:
|
12 | 12 | jobs: |
13 | 13 | build: |
14 | 14 | name: Build |
15 | | -runs-on: ubuntu-22.04 |
| 15 | +runs-on: ubuntu-24.04 |
16 | 16 | steps: |
17 | | - - uses: actions/checkout@v4 |
| 17 | + - uses: actions/checkout@v6 |
18 | 18 | with: |
19 | 19 | fetch-depth: 2 |
20 | | - - uses: actions/setup-python@v5 |
| 20 | + - uses: actions/setup-python@v6 |
21 | 21 | with: |
22 | | -python-version: "3.11" |
| 22 | +python-version: "3.14" |
23 | 23 | - run: pip install bikeshed && bikeshed update |
24 | 24 | # Note: `make deploy` will do a deploy dry run on PRs. |
25 | 25 | - run: make deploy |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -488,12 +488,13 @@ method steps are:
|
488 | 488 | |
489 | 489 | <ul> |
490 | 490 | <li><p>Unset <a>this</a>'s <a><code>send()</code> flag</a>. |
491 | | -<li><p>Unset <a>this</a>'s <a>upload listener flag</a>. |
492 | 491 | <li><p>Set <a>this</a>'s <a>request method</a> to <var>method</var>. |
493 | 492 | <li><p>Set <a>this</a>'s <a>request URL</a> to <var>parsedURL</var>. |
| 493 | +<li><p><a for=list>Empty</a> <a>this</a>'s <a>author request headers</a>. |
| 494 | +<li><p>Set <a>this</a>'s <a>request body</a> to null. |
494 | 495 | <li><p>Set <a>this</a>'s <a>synchronous flag</a> if <var>async</var> is false; otherwise unset |
495 | 496 | <a>this</a>'s <a>synchronous flag</a>. |
496 | | -<li><p><a for=list>Empty</a> <a>this</a>'s <a>author request headers</a>. |
| 497 | +<li><p>Unset <a>this</a>'s <a>upload listener flag</a>. |
497 | 498 | <li><p>Set <a>this</a>'s <a for=XMLHttpRequest>response</a> to a <a>network error</a>. |
498 | 499 | <li><p>Set <a>this</a>'s <a>received bytes</a> to the empty byte sequence. |
499 | 500 | <li><p>Set <a>this</a>'s <a>response object</a> to null. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。