Fix documentation line in for wasm Response
This commit is contained in:
@@ -51,7 +51,7 @@ impl Response {
|
|||||||
///
|
///
|
||||||
/// - The server didn't send a `content-length` header.
|
/// - The server didn't send a `content-length` header.
|
||||||
/// - The response is compressed and automatically decoded (thus changing
|
/// - The response is compressed and automatically decoded (thus changing
|
||||||
// the actual decoded length).
|
/// the actual decoded length).
|
||||||
pub fn content_length(&self) -> Option<u64> {
|
pub fn content_length(&self) -> Option<u64> {
|
||||||
self.headers()
|
self.headers()
|
||||||
.get(http::header::CONTENT_LENGTH)?
|
.get(http::header::CONTENT_LENGTH)?
|
||||||
|
|||||||
Reference in New Issue
Block a user