<?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: Prototype returning status code 0 in Opera</title>
	<atom:link href="http://forumsblogswikis.com/2009/01/01/prototype-returning-status-code-0-in-opera/feed/" rel="self" type="application/rss+xml" />
	<link>http://forumsblogswikis.com/2009/01/01/prototype-returning-status-code-0-in-opera/</link>
	<description>News on forums, blogs, wikis, cms, etc</description>
	<lastBuildDate>Fri, 07 Oct 2011 20:33:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ryan</title>
		<link>http://forumsblogswikis.com/2009/01/01/prototype-returning-status-code-0-in-opera/comment-page-1/#comment-5200</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sat, 09 May 2009 10:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://forumsblogswikis.com/?p=337#comment-5200</guid>
		<description>@Sergiu - True, although in my case that doesn&#039;t really matter.  The app I was writing when this came up should display a similar enough message between a 204 or network failure.

But realistically, how often is that going to happen?  You&#039;re already browsing to the site when you load the JS.  The JS should hit the same domain asking for an Ajax response so unless your connection drops between downloading the JS and the Ajax request that shouldn&#039;t ever happen.  Or, at least it seems that way.  Probably assuming too much on my part though.</description>
		<content:encoded><![CDATA[<p>@Sergiu &#8211; True, although in my case that doesn&#8217;t really matter.  The app I was writing when this came up should display a similar enough message between a 204 or network failure.</p>
<p>But realistically, how often is that going to happen?  You&#8217;re already browsing to the site when you load the JS.  The JS should hit the same domain asking for an Ajax response so unless your connection drops between downloading the JS and the Ajax request that shouldn&#8217;t ever happen.  Or, at least it seems that way.  Probably assuming too much on my part though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergiu Dumitriu</title>
		<link>http://forumsblogswikis.com/2009/01/01/prototype-returning-status-code-0-in-opera/comment-page-1/#comment-5192</link>
		<dc:creator>Sergiu Dumitriu</dc:creator>
		<pubDate>Mon, 20 Apr 2009 00:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://forumsblogswikis.com/?p=337#comment-5192</guid>
		<description>A problem is that there is no way to distinguish a correct 204 response from a network failure in Opera, since both cases result in a status code of 0, and getAllResponseHeaders() returns an empty string.</description>
		<content:encoded><![CDATA[<p>A problem is that there is no way to distinguish a correct 204 response from a network failure in Opera, since both cases result in a status code of 0, and getAllResponseHeaders() returns an empty string.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://forumsblogswikis.com/2009/01/01/prototype-returning-status-code-0-in-opera/comment-page-1/#comment-5122</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Sun, 01 Feb 2009 02:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://forumsblogswikis.com/?p=337#comment-5122</guid>
		<description>Fortunately the Prototype authors let the on### functions work for any number.  If they had just made it work with the standard response codes none of this would work.</description>
		<content:encoded><![CDATA[<p>Fortunately the Prototype authors let the on### functions work for any number.  If they had just made it work with the standard response codes none of this would work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodhibean</title>
		<link>http://forumsblogswikis.com/2009/01/01/prototype-returning-status-code-0-in-opera/comment-page-1/#comment-5120</link>
		<dc:creator>bodhibean</dc:creator>
		<pubDate>Fri, 30 Jan 2009 11:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://forumsblogswikis.com/?p=337#comment-5120</guid>
		<description>Good post sir. I ran into the same problem for which there is no alternative accept to use a different, less &quot;spec&quot;, status. In the HTTP 1.1 spec it says of the &lt;b&gt;204 No Content&lt;/b&gt; status code: 

&lt;i&gt;&quot;&#8230;The response MAY include new or updated meta information in the form of entity-headers, which if present SHOULD be associated with the requested variant.&quot;&lt;/i&gt;&lt;/blockquote&gt;

Yet, the accompanying header information for this status is not available to either IE (as of v 7.x) or Opera (as of v 9.6) via the XMLHTTPRequest object.</description>
		<content:encoded><![CDATA[<p>Good post sir. I ran into the same problem for which there is no alternative accept to use a different, less &#8220;spec&#8221;, status. In the HTTP 1.1 spec it says of the <b>204 No Content</b> status code: </p>
<p><i>&#8220;&hellip;The response MAY include new or updated meta information in the form of entity-headers, which if present SHOULD be associated with the requested variant.&#8221;</i></p>
<p>Yet, the accompanying header information for this status is not available to either IE (as of v 7.x) or Opera (as of v 9.6) via the XMLHTTPRequest object.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

