mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
Fixed typo in Content-Type request
This commit is contained in:
parent
76a9c23122
commit
8a8feb5b2d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
this.httpClient.addRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"); // For CloudFlare
|
||||||
|
|
||||||
if (this.sourceData.size() > 0) {
|
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) {
|
if (this.authorization != null) {
|
||||||
|
|
Loading…
Reference in a new issue