Browse Source

Remove call to HttpURLConnection.setChunkedStreamingMode

Fixes #8
Miku AuahDark 3 năm trước cách đây
mục cha
commit
8b5ec7bf6a
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/android/java/org/love2d/luahttps/LuaHTTPS.java

+ 0 - 1
src/android/java/org/love2d/luahttps/LuaHTTPS.java

@@ -134,7 +134,6 @@ class LuaHTTPS {
         // Set post data
         if (postData != null && canSendData()) {
             connection.setDoOutput(true);
-            connection.setChunkedStreamingMode(0);
 
             try {
                 OutputStream out = connection.getOutputStream();