change http error messages to be consistent with others

This commit is contained in:
nytpu
2021-03-18 15:03:25 -06:00
parent eb7d8cf21e
commit 8dfb63e640
+1 -1
View File
@@ -58,7 +58,7 @@ func httpFeed(data *core.FullData, remote string, title string) error {
if resp.Header.Get("Content-Type") == "text/html" { if resp.Header.Get("Content-Type") == "text/html" {
// TODO // TODO
return fmt.Errorf("Extracting feed from HTML pages is unimplemented") return fmt.Errorf("Extracting feed from HTML pages is currently unsupported.")
} }
reader := io.LimitReader(resp.Body, 1073741824) // 1 GiB reader := io.LimitReader(resp.Body, 1073741824) // 1 GiB