4poc / feedability

Node.js server that uses Readability to replace excerpts in feeds with the full articles.

Home Page:http://sixserv.org/2011/02/12/feedability-nodejs-feed-proxy-with-readability/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error on 303, 400 response codes

bdarcus opened this issue · comments

I tried this out on my Google Reader public feed, and got errors like ...
--[ An Error Occured: unable to handle response code 303 received response code: 400
--[ An Error Occured: unable to handle response code 400

Thanks for reporting this problem! I fixed some issues that I think are related to the problems you have: 82cb97c955b4b15c2fab

  • The urlopen was not using 303 (See Other) redirection (only 301 and 302 were adressed)
  • Any response code other then 200 (or redirections) were fatal errors, now there just replacing the article text in the feed with a error message.
  • I don't know what provoked the 400 (Bad Request), this looks like the built-in http client sent a malformed http request. The http headers should be logged now, if you encounter this 400 error again please report back.
  • On a side note: The server should restore the original excerpt, in case the article can not be fetched or readability failed extracting. This is already on the todo list and I will address this soon.

Thanks again for your report, please try again with the current master and let me know if this fixes your problems :)

I close this for now, feel free to reopen it if you encounter an similar error.

Oh, sorry for not getting back to you. That fix worked. Thanks!