Switch pseudo header order to mimic chrome
This commit is contained in:
@@ -686,13 +686,13 @@ impl Iterator for Iter {
|
|||||||
return Some(Method(method));
|
return Some(Method(method));
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(scheme) = pseudo.scheme.take() {
|
|
||||||
return Some(Scheme(scheme));
|
|
||||||
}
|
|
||||||
|
|
||||||
if let Some(authority) = pseudo.authority.take() {
|
if let Some(authority) = pseudo.authority.take() {
|
||||||
return Some(Authority(authority));
|
return Some(Authority(authority));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if let Some(scheme) = pseudo.scheme.take() {
|
||||||
|
return Some(Scheme(scheme));
|
||||||
|
}
|
||||||
|
|
||||||
if let Some(path) = pseudo.path.take() {
|
if let Some(path) = pseudo.path.take() {
|
||||||
return Some(Path(path));
|
return Some(Path(path));
|
||||||
|
|||||||
Reference in New Issue
Block a user