mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
Various http fixes (#132)
* Fix parsing ambiguity in Transfer-Encoding and Content-Length headers for HTTP/1.0 requests * Fix http2 content-length handling * fix h2 content-length support
This commit is contained in:
parent
767f022a8e
commit
ee4b23465b
29 changed files with 235 additions and 73 deletions
|
@ -44,7 +44,7 @@ impl<'a> ResourcePath for &'a str {
|
|||
|
||||
impl ResourcePath for ntex_bytes::ByteString {
|
||||
fn path(&self) -> &str {
|
||||
&*self
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue