feedparser-clj icon indicating copy to clipboard operation
feedparser-clj copied to clipboard

parse-feed does not follow HTTP 302 redirects

Open nikonyrh opened this issue 7 years ago • 0 comments

For example running (parse-feed "http://engineering.tumblr.com/rss") throws:

SAXParseException Premature end of file. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException (ErrorHandlerWrapper.java:203)

$ curl -I http://engineering.tumblr.com/rss
HTTP/1.1 302 Found
Server: openresty
Date: Wed, 26 Jul 2017 14:01:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Strict-Transport-Security: max-age=15552001
Location: https://engineering.tumblr.com/rss#_=_

nikonyrh avatar Jul 26 '17 14:07 nikonyrh