<?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: World Of HTTP/1.1 Status Codes</title>
	<atom:link href="http://www.coderjournal.com/index.php/2007/04/world-of-http11-status-codes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/</link>
	<description>while(!(succeed = try()));</description>
	<pubDate>Tue, 06 Jan 2009 09:56:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-6002</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Tue, 20 May 2008 14:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-6002</guid>
		<description>SimoneB,

Luckily we not live in the world of extension methods: http://www.coderjournal.com/2007/12/seo-c-sharp-extenion-methods/

Plus I am not doing anything different than the framework, so just drop the method in a utility class and never look at the code again.  Most people are content in doing this with the framework anyways.</description>
		<content:encoded><![CDATA[<p>SimoneB,</p>
<p>Luckily we not live in the world of extension methods: <a href="http://www.coderjournal.com/2007/12/seo-c-sharp-extenion-methods/" rel="nofollow">http://www.coderjournal.com/2007/12/seo-c-sharp-extenion-methods/</a></p>
<p>Plus I am not doing anything different than the framework, so just drop the method in a utility class and never look at the code again.  Most people are content in doing this with the framework anyways.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetKicks.com</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-6000</link>
		<dc:creator>DotNetKicks.com</dc:creator>
		<pubDate>Tue, 20 May 2008 13:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-6000</guid>
		<description>&lt;strong&gt;World Of HTTP/1.1 Status Codes...&lt;/strong&gt;

You've been kicked (a good thing) - Trackback from DotNetKicks.com...</description>
		<content:encoded><![CDATA[<p><strong>World Of HTTP/1.1 Status Codes&#8230;</strong></p>
<p>You&#8217;ve been kicked (a good thing) - Trackback from DotNetKicks.com&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coder Journal&#8217;s MVC Toolkit - Nick Berardi&#8217;s Coder Journal</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-3225</link>
		<dc:creator>Coder Journal&#8217;s MVC Toolkit - Nick Berardi&#8217;s Coder Journal</dc:creator>
		<pubDate>Tue, 15 Apr 2008 01:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-3225</guid>
		<description>[...] I have had a long standing discontent with the Redirect method of the ASP.NET. I have talked about good use of HTTP Status Codes before. There are at least 3 status codes that you want to consider before choosing a response [...]</description>
		<content:encoded><![CDATA[<p>[...] I have had a long standing discontent with the Redirect method of the ASP.NET. I have talked about good use of HTTP Status Codes before. There are at least 3 status codes that you want to consider before choosing a response [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ten SEO Tips &#124; desloper.org: design. develop. deselop.</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-1185</link>
		<dc:creator>Ten SEO Tips &#124; desloper.org: design. develop. deselop.</dc:creator>
		<pubDate>Mon, 18 Feb 2008 23:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-1185</guid>
		<description>[...] Use URL rewriting. If you are an SEO, in my opinion, URL rewriting should be your best friend. In strong accordance, be familiar with HTTP/1.1 status codes and know how to use them. [...]</description>
		<content:encoded><![CDATA[<p>[...] Use URL rewriting. If you are an SEO, in my opinion, URL rewriting should be your best friend. In strong accordance, be familiar with HTTP/1.1 status codes and know how to use them. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coder Journal &#187; SEO and C# Extention Methods</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-798</link>
		<dc:creator>Coder Journal &#187; SEO and C# Extention Methods</dc:creator>
		<pubDate>Fri, 07 Dec 2007 20:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-798</guid>
		<description>[...] the correct kind of redirect to optimize your website for search engines in an article titled. World Of HTTP/1.1 Status Codes. I just recently decided to create a C# Utility class to help me in this endeavor and to extended [...]</description>
		<content:encoded><![CDATA[<p>[...] the correct kind of redirect to optimize your website for search engines in an article titled. World Of HTTP/1.1 Status Codes. I just recently decided to create a C# Utility class to help me in this endeavor and to extended [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimoneB</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-676</link>
		<dc:creator>SimoneB</dc:creator>
		<pubDate>Wed, 03 Oct 2007 12:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-676</guid>
		<description>Did I say "difficult"? I said that it's not straightforward. 15 lines of code to do a redirect are way too much.</description>
		<content:encoded><![CDATA[<p>Did I say &#8220;difficult&#8221;? I said that it&#8217;s not straightforward. 15 lines of code to do a redirect are way too much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Berardi</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-675</link>
		<dc:creator>Nick Berardi</dc:creator>
		<pubDate>Wed, 03 Oct 2007 12:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-675</guid>
		<description>Actually it is not as hard as you think.  And you have to remember Microsoft isn't doing any magic with .NET all of it is just abstracted away from the developer.  But the power is still in your hands.  You just cannot use Response.Redirect(...).  You need to make your own method which is very easy.

&lt;pre&gt;public static void Redirect (int statusCode, string location) {
    HttpResponse response = HttpContext.Current.Response;
    response.StatusCode = statusCode;

    switch(statusCode) {
        case 301: response.StatusDescription = "Moved Permidently"; break;
        case 302: response.StatusDescription = "Found"; break;
        case 303: response.StatusDescription = "See Other"; break;
        case 307: response.StatusDescription = "Temporary Redirect"; break;
    }

    response.RedirectLocation = location;
    response.ContentType = "text/html";
    response.Write(&#34;&#60;html&#62;&#60;head&#62;&#60;title&#62;Object moved&#60;/title&#62;&#60;/head&#62;&#60;body&#62;&#34;);
    response.Write(&#34;&#60;h2&#62;Object moved to &#60;a href=\&#34;&#34; + HttpUtility.HtmlAttributeEncode(location) + &#34;\&#34; rel=\&#34;nofollow\&#34;&#62;here&#60;/a&#62;.&#60;/h2&#62;&#34;);
    response.Write(&#34;&#60;/body&#62;&#60;/html&#62;&#34;);

    response.Flush();
    response.End();
}&lt;/pre&gt;

And when annoumous methods are introduced in C# 3.0 you can just change the above line to

public void Redirect (this HttpResponse response, int statusCode, string location) ...

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Actually it is not as hard as you think.  And you have to remember Microsoft isn&#8217;t doing any magic with .NET all of it is just abstracted away from the developer.  But the power is still in your hands.  You just cannot use Response.Redirect(&#8230;).  You need to make your own method which is very easy.</p>
<pre>public static void Redirect (int statusCode, string location) {
    HttpResponse response = HttpContext.Current.Response;
    response.StatusCode = statusCode;

    switch(statusCode) {
        case 301: response.StatusDescription = "Moved Permidently"; break;
        case 302: response.StatusDescription = "Found"; break;
        case 303: response.StatusDescription = "See Other"; break;
        case 307: response.StatusDescription = "Temporary Redirect"; break;
    }

    response.RedirectLocation = location;
    response.ContentType = "text/html";
    response.Write(&quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;Object moved&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&quot;);
    response.Write(&quot;&lt;h2&gt;Object moved to &lt;a href=\&quot;&quot; + HttpUtility.HtmlAttributeEncode(location) + &quot;\&quot; rel=\&quot;nofollow\&quot;&gt;here&lt;/a&gt;.&lt;/h2&gt;&quot;);
    response.Write(&quot;&lt;/body&gt;&lt;/html&gt;&quot;);

    response.Flush();
    response.End();
}</pre>
<p>And when annoumous methods are introduced in C# 3.0 you can just change the above line to</p>
<p>public void Redirect (this HttpResponse response, int statusCode, string location) &#8230;</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimoneB</title>
		<link>http://www.coderjournal.com/2007/04/world-of-http11-status-codes/comment-page-1/#comment-673</link>
		<dc:creator>SimoneB</dc:creator>
		<pubDate>Wed, 03 Oct 2007 12:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.coderjournal.com/2007/04/world-of-http11-status-codes/#comment-673</guid>
		<description>Thanks for the informative post. Unluckily frameworks like ASP.NET are pretty inflexible about this stuff, and the default method for redirections automatically sets the response code to 302, and preventing this behavior is not very straightforward.</description>
		<content:encoded><![CDATA[<p>Thanks for the informative post. Unluckily frameworks like ASP.NET are pretty inflexible about this stuff, and the default method for redirections automatically sets the response code to 302, and preventing this behavior is not very straightforward.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
