Xwite 3 лет назад
Родитель
Сommit
06380ba759
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/src/main/java/io/legado/app/utils/UrlUtil.kt

+ 2 - 1
app/src/main/java/io/legado/app/utils/UrlUtil.kt

@@ -89,6 +89,7 @@ object UrlUtil {
                     }
                 }
             }
+            AppLog.put("${url.toString()} response header:\n$headersString")
         }
 
         // val fileSize = conn.getContentLengthLong() / 1024
@@ -125,7 +126,7 @@ object UrlUtil {
             val newUrl= URL(URLDecoder.decode(redirectUrl, "UTF-8"))
             getFileNameFromPath(newUrl)
         } else {
-            AppLog.put("Cannot obtain URL file name, enable recordLog fo rdetail")
+            AppLog.put("Cannot obtain URL file name, enable recordLog for detail")
             null
         }
     }