<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: OpenURI, Exceptions and HTTP Status Codes</title>
	<atom:link href="http://somethingsimilar.com/2007/08/07/openuri-exceptions-and-http-status-codes/feed/" rel="self" type="application/rss+xml" />
	<link>http://somethingsimilar.com/2007/08/07/openuri-exceptions-and-http-status-codes/</link>
	<description>Just like it.</description>
	<lastBuildDate>Mon, 05 Jul 2010 01:42:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anders E</title>
		<link>http://somethingsimilar.com/2007/08/07/openuri-exceptions-and-http-status-codes/comment-page-1/#comment-12956</link>
		<dc:creator>Anders E</dc:creator>
		<pubDate>Wed, 24 Jun 2009 11:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethingsimilar.com/wordpress/2007/08/07/openuri-exceptions-and-http-status-codes/#comment-12956</guid>
		<description>&lt;p&gt;Re: Jesse Newland&lt;/p&gt;

&lt;p&gt;You can set :redirect=&gt;false like: uri.read(:redirect=&gt;false)&lt;/p&gt;

&lt;p&gt;This is kinda needed to be able to handle 301 properly, since you are supposed to update your references whenever you find a permanent redirect like that. At least, this is the only decent way of achieving this that I&#039;ve come across.&lt;/p&gt;

&lt;p&gt;Thanks for your post Jeff!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Re: Jesse Newland</p>

<p>You can set :redirect=&gt;false like: uri.read(:redirect=&gt;false)</p>

<p>This is kinda needed to be able to handle 301 properly, since you are supposed to update your references whenever you find a permanent redirect like that. At least, this is the only decent way of achieving this that I&#8217;ve come across.</p>

<p>Thanks for your post Jeff!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Newland</title>
		<link>http://somethingsimilar.com/2007/08/07/openuri-exceptions-and-http-status-codes/comment-page-1/#comment-992</link>
		<dc:creator>Jesse Newland</dc:creator>
		<pubDate>Wed, 15 Aug 2007 20:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.somethingsimilar.com/wordpress/2007/08/07/openuri-exceptions-and-http-status-codes/#comment-992</guid>
		<description>&lt;p&gt;Actually, this isn&#039;t exactly correct - open-uri and rest-open-uri swallow 301, 302, 303, and 307 status codes, follow the redirection w/o exception, and tell you they received a 200.&lt;/p&gt;

&lt;p&gt;This is causing some breakage in rfeedparser, as I&#039;ve detailed here:&lt;/p&gt;

&lt;p&gt;http://rubyforge.org/tracker/index.php?func=detail&amp;aid=13073&amp;group_id=3309&amp;atid=12738&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually, this isn&#8217;t exactly correct &#8211; open-uri and rest-open-uri swallow 301, 302, 303, and 307 status codes, follow the redirection w/o exception, and tell you they received a 200.</p>

<p>This is causing some breakage in rfeedparser, as I&#8217;ve detailed here:</p>

<p><a href="http://rubyforge.org/tracker/index.php?func=detail&amp;aid=13073&amp;group_id=3309&amp;atid=12738" rel="nofollow">http://rubyforge.org/tracker/index.php?func=detail&amp;aid=13073&amp;group_id=3309&amp;atid=12738</a></p>]]></content:encoded>
	</item>
</channel>
</rss>
