scsibug / feedparser-clj

Atom/RSS Feed Parsing for Clojure
Other
102 stars 33 forks source link

parse-feed does not follow HTTP 302 redirects #19

Open nikonyrh opened 7 years ago

nikonyrh commented 7 years ago

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#_=_