diff --git a/JumpKick.HttpLib/JumpKick.HttpLib.Tests/Provider/MultipartBodyProviderTest.cs b/JumpKick.HttpLib/JumpKick.HttpLib.Tests/Provider/MultipartBodyProviderTest.cs index 3e7f301..2fec5b9 100644 --- a/JumpKick.HttpLib/JumpKick.HttpLib.Tests/Provider/MultipartBodyProviderTest.cs +++ b/JumpKick.HttpLib/JumpKick.HttpLib.Tests/Provider/MultipartBodyProviderTest.cs @@ -55,7 +55,7 @@ public void TestContentTypeContainsBoundaryString() [TestMethod] public void TestContentType() { - Assert.AreEqual("multipart/form-data, boundary=" + provider.GetBoundary(), provider.GetContentType()); + Assert.AreEqual("multipart/form-data; boundary=" + provider.GetBoundary(), provider.GetContentType()); } [TestMethod] diff --git a/JumpKick.HttpLib/JumpKick.HttpLib/Provider/MultipartBodyProvider.cs b/JumpKick.HttpLib/JumpKick.HttpLib/Provider/MultipartBodyProvider.cs index 87e44ee..ab9c81a 100644 --- a/JumpKick.HttpLib/JumpKick.HttpLib/Provider/MultipartBodyProvider.cs +++ b/JumpKick.HttpLib/JumpKick.HttpLib/Provider/MultipartBodyProvider.cs @@ -34,7 +34,7 @@ public void AddFile(NamedFileStream file) public override string GetContentType() { - return string.Format("multipart/form-data, boundary={0}", boundary); + return string.Format("multipart/form-data; boundary={0}", boundary); } public string GetBoundary() diff --git a/README.md b/README.md index 527ed98..1b6b007 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ HttpLib is a free (Apache 2.0 License) web request helper for .Net that makes it Dev build ![build status master](https://ci.appveyor.com/api/projects/status/github/j6mes/httplib) -Version 2.0.15 ![2.0.15](https://ci.appveyor.com/api/projects/status/cfxsekd76ap47fej/branch/2.0.15) +Version 2.0.15 ![2.0.16](https://ci.appveyor.com/api/projects/status/cfxsekd76ap47fej/branch/2.0.16) ## About -The library was first released in 2012 and has since had over 5500 downloads. +The library was first released in 2012 and has since had over 50,000 downloads. #### Download @@ -18,7 +18,7 @@ Source code is available on [GitHub](https://github.com/j6mes/httplib/ "Download #### Latest Release: -The most recent release is **2.0.15** which supports the following features: +The most recent release is **2.0.16** which supports the following features: * Supports most HTTP Verbs: GET / POST / PUT / DELETE and more * Upload and download files to disk @@ -30,6 +30,7 @@ The most recent release is **2.0.15** which supports the following features: * Bug fix 16 - setting custom headers * Bug fix 17 - sending request without body * Request 18 - removed stats collection +* Bug fix 20 - multipart form boundary Supported platforms: .Net4.0+ (WinForms, WCF, ASP.Net, Silverlight 5, Windows Phone 8.0+, Windows 8.0+). @@ -122,4 +123,4 @@ If the server doesn’t reply with a content length header, the totalBytes v Performs a HTTP DELETE on a given URL - Http.Delete("https://jthorne.co.uk/httplib").Go(); \ No newline at end of file + Http.Delete("https://jthorne.co.uk/httplib").Go();