Auto merge of #28682 - servo:dependabot/cargo/http-0.2.6, r=jdm

Bump http from 0.2.1 to 0.2.6

Bumps [http](https://github.com/hyperium/http) from 0.2.1 to 0.2.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/http/releases">http's releases</a>.</em></p>
<blockquote>
<h2>v0.2.6</h2>
<ul>
<li>Upgrade internal <code>itoa</code> dependency to 1.0.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Turbo87"><code>@​Turbo87</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/http/pull/512">hyperium/http#512</a></li>
<li><a href="https://github.com/tshepang"><code>@​tshepang</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/http/pull/492">hyperium/http#492</a></li>
<li><a href="https://github.com/waywardmonkeys"><code>@​waywardmonkeys</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/http/pull/516">hyperium/http#516</a></li>
</ul>
<h2>v0.2.5</h2>
<ul>
<li>Add <code>is_empty()</code> and <code>len()</code> methods to <code>Extensions</code>.</li>
<li>Add <code>version_ref()</code> method to <code>request::Builder</code>.</li>
<li>Implement <code>TryFrom&lt;Vec&lt;u8&gt;&gt;</code> and <code>TryFrom&lt;String&gt;</code> for <code>Authority</code>, <code>Uri</code>, <code>PathAndQuery</code>, and <code>HeaderName</code>.</li>
<li>Make <code>HeaderValue::from_static</code> a <code>const fn</code>.</li>
</ul>
<h2>v0.2.4</h2>
<ul>
<li>Fix <code>Uri</code> parsing to allow <code>{</code>, <code>&quot;</code>, and <code>}</code> in paths.</li>
</ul>
<h2>v0.2.3</h2>
<ul>
<li>Upgrade internal (private) <code>bytes</code> dependency to 1.0.</li>
</ul>
<h2>v0.2.2</h2>
<ul>
<li>Fix (potential double) panic of (<code>HeaderMap</code>) <code>OccupiedEntry::remove_entry</code> and
<code>remove_entry_mult</code> when multiple values are present. (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/446">#446</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/449">#449</a> dekellum)</li>
<li>Safety audits of (priv) <code>ByteStr</code> and refactor of <code>Authority</code> (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/408">#408</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/414">#414</a> sbosnick)</li>
<li>Fix <code>HeaderName</code> to error instead of panic when input is too long (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/432">#432</a> <a href="https://github-redirect.dependabot.com/hyperium/http/issues/433">#433</a> acfoltzer)</li>
<li>Allow <code>StatusCode</code> to encode values 100-999 without error. Use of the
unclassified range 600-999 remains discouraged. (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/144">#144</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/438">#438</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/443">#443</a> quininer dekellum)</li>
<li>Add <code>String</code> and <code>&amp;String</code> fallible conversions to <code>PathAndQuery</code> (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/450">#450</a> mkindahl)</li>
<li>Fix <code>Authority</code> (and <code>Uri</code>) to error instead of panic on unbalanced brackets
(<a href="https://github-redirect.dependabot.com/hyperium/http/issues/435">#435</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/445">#445</a> aeryz)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/http/blob/master/CHANGELOG.md">http's changelog</a>.</em></p>
<blockquote>
<h1>0.2.6 (December 30, 2021)</h1>
<ul>
<li>Upgrade internal <code>itoa</code> dependency to 1.0.</li>
</ul>
<h1>0.2.5 (September 21, 2021)</h1>
<ul>
<li>Add <code>is_empty()</code> and <code>len()</code> methods to <code>Extensions</code>.</li>
<li>Add <code>version_ref()</code> method to <code>request::Builder</code>.</li>
<li>Implement <code>TryFrom&lt;Vec&lt;u8&gt;&gt;</code> and <code>TryFrom&lt;String&gt;</code> for <code>Authority</code>, <code>Uri</code>, <code>PathAndQuery</code>, and <code>HeaderName</code>.</li>
<li>Make <code>HeaderValue::from_static</code> a <code>const fn</code>.</li>
</ul>
<h1>0.2.4 (April 4, 2021)</h1>
<ul>
<li>Fix <code>Uri</code> parsing to allow <code>{</code>, <code>&quot;</code>, and <code>}</code> in paths.</li>
</ul>
<h1>0.2.3 (January 7, 2021)</h1>
<ul>
<li>Upgrade internal (private) <code>bytes</code> dependency to 1.0.</li>
</ul>
<h1>0.2.2 (December 14, 2020)</h1>
<ul>
<li>Fix (potential double) panic of (<code>HeaderMap</code>) <code>OccupiedEntry::remove_entry</code> and
<code>remove_entry_mult</code> when multiple values are present. (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/446">#446</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/449">#449</a> dekellum)</li>
<li>Safety audits of (priv) <code>ByteStr</code> and refactor of <code>Authority</code> (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/408">#408</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/414">#414</a> sbosnick)</li>
<li>Fix <code>HeaderName</code> to error instead of panic when input is too long (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/432">#432</a> <a href="https://github-redirect.dependabot.com/hyperium/http/issues/433">#433</a> acfoltzer)</li>
<li>Allow <code>StatusCode</code> to encode values 100-999 without error. Use of the
unclassified range 600-999 remains discouraged. (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/144">#144</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/438">#438</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/443">#443</a> quininer dekellum)</li>
<li>Add <code>String</code> and <code>&amp;String</code> fallible conversions to <code>PathAndQuery</code> (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/450">#450</a> mkindahl)</li>
<li>Fix <code>Authority</code> (and <code>Uri</code>) to error instead of panic on unbalanced brackets
(<a href="https://github-redirect.dependabot.com/hyperium/http/issues/435">#435</a>, <a href="https://github-redirect.dependabot.com/hyperium/http/issues/445">#445</a> aeryz)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c28945c6c6"><code>c28945c</code></a> v0.2.6</li>
<li><a href="abe651273f"><code>abe6512</code></a> deps: Update to itoa 1.</li>
<li><a href="f25fbb579d"><code>f25fbb5</code></a> Cargo: Add <code>rust-version</code> field</li>
<li><a href="1129163281"><code>1129163</code></a> remove obsolete comment</li>
<li><a href="52b4d04d0d"><code>52b4d04</code></a> README: Remove obsolete <code>extern crate http</code> instructions</li>
<li><a href="ead020c94c"><code>ead020c</code></a> v0.2.5</li>
<li><a href="cc2f3ed7fc"><code>cc2f3ed</code></a> extensions: add methods to detect the presence of extensions (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/497">#497</a>)</li>
<li><a href="d2fda209f1"><code>d2fda20</code></a> request: add Builder::version_ref to query the version in use (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/495">#495</a>)</li>
<li><a href="58c6290bf9"><code>58c6290</code></a> Minor changes to var names in examples (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/493">#493</a>)</li>
<li><a href="e54da7175a"><code>e54da71</code></a> HeaderValue::from_static can be const (<a href="https://github-redirect.dependabot.com/hyperium/http/issues/481">#481</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/hyperium/http/compare/v0.2.1...v0.2.6">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=http&package-manager=cargo&previous-version=0.2.1&new-version=0.2.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>
This commit is contained in:
bors-servo 2022-04-03 20:59:48 -04:00 committed by GitHub
commit adabf0f418
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 59 additions and 41 deletions

26
Cargo.lock generated
View file

@ -1194,7 +1194,7 @@ checksum = "2a3a85949f6cbf49a4e1ab98a98e0f9aabfe7d827a7f156da36c98a86dede2df"
dependencies = [
"cssparser-macros",
"dtoa-short",
"itoa",
"itoa 0.4.5",
"matches",
"phf 0.8.0",
"proc-macro2",
@ -2748,13 +2748,13 @@ dependencies = [
[[package]]
name = "http"
version = "0.2.1"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d569972648b2c512421b5f2a405ad6ac9666547189d0c5477a3f200f3e02f9"
checksum = "31f4c6746584866f0feabcc69893c5b51beef3831656a968ed7ae254cdc4fd03"
dependencies = [
"bytes 0.5.6",
"bytes 1.1.0",
"fnv",
"itoa",
"itoa 1.0.1",
]
[[package]]
@ -2817,7 +2817,7 @@ dependencies = [
"http-body 0.3.1",
"httparse",
"httpdate 0.3.2",
"itoa",
"itoa 0.4.5",
"pin-project 1.0.2",
"socket2 0.3.19",
"tokio 0.2.21",
@ -2841,7 +2841,7 @@ dependencies = [
"http-body 0.4.4",
"httparse",
"httpdate 0.3.2",
"itoa",
"itoa 0.4.5",
"pin-project 1.0.2",
"socket2 0.4.2",
"tokio 1.15.0",
@ -3044,6 +3044,12 @@ version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8b7a7c0c47db5545ed3fef7468ee7bb5b74691498139e4b3f6a20685dc6dd8e"
[[package]]
name = "itoa"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35"
[[package]]
name = "jemalloc-sys"
version = "0.3.2"
@ -5538,7 +5544,7 @@ version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79"
dependencies = [
"itoa",
"itoa 0.4.5",
"ryu",
"serde",
]
@ -5550,7 +5556,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ec5d77e2d4c73717816afac02670d5c4f534ea95ed430442cad02e7a6e32c97"
dependencies = [
"dtoa",
"itoa",
"itoa 0.4.5",
"serde",
"url",
]
@ -6207,7 +6213,7 @@ dependencies = [
"html5ever",
"indexmap",
"itertools",
"itoa",
"itoa 0.4.5",
"lazy_static",
"log",
"malloc_size_of",

View file

@ -42,6 +42,7 @@ packages = [
"gleam",
"h2",
"image",
"itoa",
"jpeg-decoder",
"libloading",
"lock_api",

View file

@ -1,7 +0,0 @@
[status-preflight.htm]
[CORS - status after preflight on HEAD 699]
expected: FAIL
[CORS - status after preflight on PUT 699]
expected: FAIL

View file

@ -1,3 +0,0 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementFromPoint-dynamic-anon-box.html]
[Link should be clickable after hiding a scrollbox with an anonymous table inside]
expected: FAIL

View file

@ -20,3 +20,6 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -1,3 +0,0 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

@ -3,3 +3,6 @@
expected: TIMEOUT
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT

View file

@ -23,6 +23,24 @@
[Response with status 404: instantiateStreaming]
expected: FAIL
[Response with status 600: compileStreaming]
expected: FAIL
[Response with status 700: compileStreaming]
expected: FAIL
[Response with status 999: compileStreaming]
expected: FAIL
[Response with status 600: instantiateStreaming]
expected: FAIL
[Response with status 700: instantiateStreaming]
expected: FAIL
[Response with status 999: instantiateStreaming]
expected: FAIL
[status.any.serviceworker.html]
expected: ERROR
@ -61,3 +79,20 @@
[Response with status 404: instantiateStreaming]
expected: FAIL
[Response with status 600: compileStreaming]
expected: FAIL
[Response with status 700: compileStreaming]
expected: FAIL
[Response with status 999: compileStreaming]
expected: FAIL
[Response with status 600: instantiateStreaming]
expected: FAIL
[Response with status 700: instantiateStreaming]
expected: FAIL
[Response with status 999: instantiateStreaming]
expected: FAIL

View file

@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL
@ -70,4 +71,3 @@
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL

View file

@ -1,13 +0,0 @@
[status-error.htm]
[XMLHttpRequest: status error handling GET 699]
expected: FAIL
[XMLHttpRequest: status error handling POST 699]
expected: FAIL
[XMLHttpRequest: status error handling PUT 699]
expected: FAIL
[XMLHttpRequest: status error handling HEAD 699]
expected: FAIL