mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http_protocol: fix ScrapeRequest::write issue
This commit is contained in:
parent
db6f6e027c
commit
5da1c304a3
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ pub struct ScrapeRequest {
|
|||
|
||||
impl ScrapeRequest {
|
||||
fn write<W: Write>(&self, output: &mut W, url_suffix: &[u8]) -> ::std::io::Result<()> {
|
||||
output.write_all(b"GET /scrape?")?;
|
||||
output.write_all(b"GET /scrape")?;
|
||||
output.write_all(url_suffix)?;
|
||||
output.write_all(b"?")?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue