From 496a5e646cb5fd62fed558d2bdc577fef3971ff5 Mon Sep 17 00:00:00 2001 From: blankie Date: Sun, 24 Jul 2022 00:46:50 +0700 Subject: [PATCH] Proxy text/xml --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d17a860..4cfb8ff 100644 --- a/main.go +++ b/main.go @@ -163,7 +163,7 @@ func main() { mime, _, _ := strings.Cut(resp.Meta, ";") if mime == "application/rss+xml" || mime == "application/rss" || mime == "application/atom+xml" || mime == "application/atom" || - mime == "application/xml" { + mime == "application/xml" || mime == "text/xml" { out, err := io.ReadAll(resp.Body) if err != nil { log.Fatal(err)