Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Commit

Permalink
Add comment explaining why Content-Length isn't checked
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schievink committed May 14, 2018
1 parent 33df1e4 commit 96709d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ pub mod http {
}
}

// We ignore the Content-Length header because it doesn't matter for the parser and reqwest
// will remove it when the response is gzip compressed.

Ok(())
}

Expand Down

0 comments on commit 96709d5

Please sign in to comment.