Switch pseudo header order to mimic chrome
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Test (beta) (push) Has been cancelled
CI / Test (nightly) (push) Has been cancelled
CI / Test (stable) (push) Has been cancelled
CI / Check MSRV (1.56) (push) Has been cancelled

This commit is contained in:
4JX
2022-08-17 19:06:56 +02:00
parent 7c45fd1657
commit b088466fea

View File

@@ -686,13 +686,13 @@ impl Iterator for Iter {
return Some(Method(method));
}
if let Some(scheme) = pseudo.scheme.take() {
return Some(Scheme(scheme));
}
if let Some(authority) = pseudo.authority.take() {
return Some(Authority(authority));
}
if let Some(scheme) = pseudo.scheme.take() {
return Some(Scheme(scheme));
}
if let Some(path) = pseudo.path.take() {
return Some(Path(path));