1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

Remove trailing semicolon in the header used in HttpFileUploadManager

This commit is contained in:
Piotr Nosek 2019-08-28 17:53:04 +02:00
parent 851bd3c5dd
commit 563dad08e8

View file

@ -399,7 +399,7 @@ public final class HttpFileUploadManager extends Manager {
urlConnection.setUseCaches(false);
urlConnection.setDoOutput(true);
urlConnection.setFixedLengthStreamingMode(fileSize);
urlConnection.setRequestProperty("Content-Type", "application/octet-stream;");
urlConnection.setRequestProperty("Content-Type", "application/octet-stream");
for (Entry<String, String> header : slot.getHeaders().entrySet()) {
urlConnection.setRequestProperty(header.getKey(), header.getValue());
}