Handle client-disabled server push (#486)

This commit is contained in:
eggyal
2020-09-18 01:25:31 +01:00
committed by GitHub
parent a19323727b
commit 2b19acf132
6 changed files with 70 additions and 3 deletions

View File

@@ -339,6 +339,11 @@ impl Mock<frame::Settings> {
self.0.set_max_header_list_size(Some(val));
self
}
pub fn disable_push(mut self) -> Self {
self.0.set_enable_push(false);
self
}
}
impl From<Mock<frame::Settings>> for frame::Settings {