pull/823/head
gedoor 4 years ago
parent d3095035bc
commit 62a91fd8ea
  1. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeUrl.kt

@ -309,7 +309,7 @@ class AnalyzeUrl(
}
return when (method) {
RequestMethod.POST -> {
if (fieldMap.isNotEmpty()) {
if (fieldMap.isNotEmpty() || body.isNullOrBlank()) {
RxHttp.postForm(url)
.setAssemblyEnabled(false)
.setOkClient(HttpHelper.getProxyClient(proxy))
@ -338,7 +338,7 @@ class AnalyzeUrl(
setCookie(tag)
return when (method) {
RequestMethod.POST -> {
if (fieldMap.isNotEmpty()) {
if (fieldMap.isNotEmpty() || body.isNullOrBlank()) {
RxHttp.postForm(url)
.setAssemblyEnabled(false)
.setOkClient(HttpHelper.getProxyClient(proxy))

Loading…
Cancel
Save