http.js 301 redirect fails if website not part of uri
Using wget I see the following redirection happening
https://www.marketwatch.com/news/story.asp?guid=%7B21005575-02D4-D4B5-4572-D215B50BB91B%7D&siteid=rss&rss=1 Connecting to www.marketwatch.com (www.marketwatch.com)|18.104.22.168|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: /story/guid/21005575-02d4-d4b5-4572-d215b50bb91b?siteid=rss&rss=1 [following]
However http.js fails
If I manually check in the browser by adding https://www.marketwatch.com then it works.
http.js needs to be updated to use the source website if it's not provided in the Location header.