change http error messages to be consistent with others
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user