From 8b89e95e4846d9f98e2f6153ecb63d8bc478bcbe Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 3 Nov 2019 10:30:51 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt index da5244b18..1673ceefc 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt @@ -254,6 +254,7 @@ class AnalyzeUrl( GET, POST } + @Throws(Exception::class) fun getResponse(): Call { return when { method == Method.POST -> { @@ -276,6 +277,7 @@ class AnalyzeUrl( } } + @Throws(Exception::class) fun getResponseAsync(): Deferred> { return when { method == Method.POST -> {