Skip to content

Commit

Permalink
Merge pull request igniterealtime#342 from fenek/fix-http-file-upload…
Browse files Browse the repository at this point in the history
…-header

Remove trailing semicolon in the header used in HttpFileUploadManager
  • Loading branch information
Flowdalic committed Aug 30, 2019
2 parents 1a3067c + 563dad0 commit 5b23b9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ private void uploadFile(final File file, final Slot slot, UploadProgressListener
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());
}
Expand Down

0 comments on commit 5b23b9a

Please sign in to comment.