chore(publish): latest version to crates.io

Also update the latest source-code, which is just a cleanup.
This commit is contained in:
Sebastian Thiel
2016-07-17 17:34:01 +02:00
parent e7721ce53b
commit b9f237eec0
203 changed files with 34 additions and 1836 deletions

View File

@@ -480,23 +480,6 @@ impl<'a> Read for MultiPartReader<'a> {
}
}
// The following macro invocation needs to be expanded, as `include!`
// doens't support external macros
// header!{
// #[doc="The `X-Upload-Content-Type` header."]
// (XUploadContentType, "X-Upload-Content-Type") => [Mime]
// xupload_content_type {
// test_header!(
// test1,
// vec![b"text/plain"],
// Some(HeaderField(
// vec![Mime(TopLevel::Text, SubLevel::Plain, Vec::new())]
// )));
// }
// }
/// The `X-Upload-Content-Type` header.
///
/// Generated via rustc --pretty expanded -Z unstable-options, and manually
@@ -711,7 +694,6 @@ impl<'a, A> ResumableUploadHelper<'a, A>
if self.delegate.cancel_chunk_upload(&range_header) {
return None
}
// workaround https://github.com/rust-lang/rust/issues/22252
let res = self.client.post(self.url)
.header(range_header)
.header(ContentType(self.media_type.clone()))