mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic_http_protocol: send host header for scrape requests too
This commit is contained in:
parent
e6a74c5bfe
commit
7a96313173
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ impl ScrapeRequest {
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
output.write_all(b" HTTP/1.1\r\nConnection: keep-alive\r\n\r\n")?;
|
output.write_all(b" HTTP/1.1\r\nHost: localhost\r\n\r\n")?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue