content length

This commit is contained in:
Martin Algesten
2018-06-16 12:35:51 +02:00
parent 0d9d5d3096
commit 7e3ad42674
5 changed files with 64 additions and 15 deletions

View File

@@ -41,8 +41,8 @@
//!
//! ```
//! let resp = ureq::post("http://my-server.com/ingest")
//! .set("Transfer-Encoding", "chunked")`
//! .send("Hello world");
//! .set("Transfer-Encoding", "chunked")
//! .send_str("Hello world");
//! ```
extern crate ascii;