Merge pull request #61 from PolyacovYury/fix_contenttype_header

Fixed typo in Content-Type request
This commit is contained in:
Sollace 2018-06-02 16:40:14 +02:00 committed by GitHub
commit b30c6ba561
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ public class ThreadMultipartPostUpload {
this.httpClient.addRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"); // For CloudFlare
if (this.sourceData.size() > 0) {
this.httpClient.setRequestProperty("Content-Type", "multipart/form-data, boundary=" + boundary);
this.httpClient.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary);
}
if (this.authorization != null) {