mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +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;
|
||||
}
|
||||
|
||||
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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue