Fix RequestBuilder::headers to include multiple values

`RequestBuilder::headers` will always overwrite any existing header with
the same name, but will now correctly append extra values from the *new*
header map.

Closes #407
This commit is contained in:
Sean McArthur
2019-01-03 12:28:03 -08:00
parent dd5b95fc06
commit 9c0c5ca42d
3 changed files with 89 additions and 7 deletions

View File

@@ -7,5 +7,5 @@ pub use self::response::{Response, ResponseBuilderExt};
pub mod body;
pub mod client;
pub mod decoder;
mod request;
pub(crate) mod request;
mod response;