mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +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 {
|
impl ScrapeRequest {
|
||||||
fn write<W: Write>(&self, output: &mut W, url_suffix: &[u8]) -> ::std::io::Result<()> {
|
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(url_suffix)?;
|
||||||
output.write_all(b"?")?;
|
output.write_all(b"?")?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue