Skip to content

Commit

Permalink
use 128 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Nov 28, 2020
1 parent 32b8bea commit 4b6cef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/encode.rs
Expand Up @@ -60,7 +60,7 @@ impl Encoder {
}

fn compute_head(&mut self) -> io::Result<Cursor<Vec<u8>>> {
let mut buf = Vec::with_capacity(100);
let mut buf = Vec::with_capacity(128);
let url = self.request.url();
let method = self.request.method();
write!(buf, "{} ", method)?;
Expand Down

0 comments on commit 4b6cef5

Please sign in to comment.