Make more unique value just incase

This commit is contained in:
libraryaddict 2021-05-15 13:59:20 +12:00
parent d4abde2542
commit 8fad4a5b46

View File

@ -80,7 +80,7 @@ public class MineSkinAPI {
connection.setConnectTimeout(19000); connection.setConnectTimeout(19000);
connection.setReadTimeout(19000); connection.setReadTimeout(19000);
String boundary = Long.toHexString(System.currentTimeMillis()); // Just generate some unique random value. String boundary = "LD@" + Long.toHexString(System.currentTimeMillis()); // Just generate some unique random value.
connection.setDoOutput(true); connection.setDoOutput(true);
connection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary); connection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary);