<?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: Advanced HTTP Redirection</title>
	<atom:link href="http://www.askapache.com/seo/advanced-http-redirection.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/seo/advanced-http-redirection.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Thu, 18 Mar 2010 14:15:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/seo/advanced-http-redirection.html#comment-67971</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Tue, 03 Mar 2009 00:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/seo/advanced-http-redirection.html#comment-67971</guid>
		<description>I&#039;ve used &lt;a href=&quot;http://www.askapache.com/htaccess/htaccess-fresh.html#modrewrite3&quot; rel=&quot;nofollow&quot;&gt;mod_rewrite to accomplish this instead of using 300&lt;/a&gt; HTTP Headers by checking the request headers, mostly the Accept-Language, Accept, and Accept Charset headers.  But the way that it is meant to be used is basically if your server has 3 versions of the file rfc2616:

rfc2616.txt
rfc2616.pdf
rfc2616.png
 

Then you set up your server to using one form of negotion or another, to respond to requests for the url /rfc2616 with a 300 Multiple Choices response header that includes the links to all 3 different versions, which lets the user-agent decide which one they want.

Agent-driven Negotiation
&lt;blockquote cite=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html#sec12.1&quot;&gt;
With agent-driven negotiation, selection of the best representation for a response is performed by the user agent after receiving an initial response from the origin server. Selection is based on a list of the available representations of the response included within the header fields or entity-body of the initial response, with each representation identified by its own URI. Selection from among the representations may be performed automatically (if the user agent is capable of doing so) or manually by the user selecting from a generated (possibly hypertext) menu.

Agent-driven negotiation is advantageous when the response would vary over commonly-used dimensions (such as type, language, or encoding), when the origin server is unable to determine a user agent&#039;s capabilities from examining the request, and generally when public caches are used to distribute server load and reduce network usage.

Agent-driven negotiation suffers from the disadvantage of needing a second request to obtain the best alternate representation. This second request is only efficient when caching is used. In addition, this specification does not define any mechanism for supporting automatic selection, though it also does not prevent any such mechanism from being developed as an extension and used within HTTP/1.1.

HTTP/1.1 defines the 300 (Multiple Choices) and 406 (Not Acceptable) status codes for enabling agent-driven negotiation when the server is unwilling or unable to provide a varying response using server-driven negotiation.
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used <a href="http://www.askapache.com/htaccess/htaccess-fresh.html#modrewrite3" rel="nofollow">mod_rewrite to accomplish this instead of using 300</a> HTTP Headers by checking the request headers, mostly the Accept-Language, Accept, and Accept Charset headers.  But the way that it is meant to be used is basically if your server has 3 versions of the file rfc2616:</p>
<p>rfc2616.txt<br />
rfc2616.pdf<br />
rfc2616.png</p>
<p>Then you set up your server to using one form of negotion or another, to respond to requests for the url /rfc2616 with a 300 Multiple Choices response header that includes the links to all 3 different versions, which lets the user-agent decide which one they want.</p>
<p>Agent-driven Negotiation</p>
<blockquote cite="http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html#sec12.1"><p>
With agent-driven negotiation, selection of the best representation for a response is performed by the user agent after receiving an initial response from the origin server. Selection is based on a list of the available representations of the response included within the header fields or entity-body of the initial response, with each representation identified by its own URI. Selection from among the representations may be performed automatically (if the user agent is capable of doing so) or manually by the user selecting from a generated (possibly hypertext) menu.</p>
<p>Agent-driven negotiation is advantageous when the response would vary over commonly-used dimensions (such as type, language, or encoding), when the origin server is unable to determine a user agent&#8217;s capabilities from examining the request, and generally when public caches are used to distribute server load and reduce network usage.</p>
<p>Agent-driven negotiation suffers from the disadvantage of needing a second request to obtain the best alternate representation. This second request is only efficient when caching is used. In addition, this specification does not define any mechanism for supporting automatic selection, though it also does not prevent any such mechanism from being developed as an extension and used within HTTP/1.1.</p>
<p>HTTP/1.1 defines the 300 (Multiple Choices) and 406 (Not Acceptable) status codes for enabling agent-driven negotiation when the server is unwilling or unable to provide a varying response using server-driven negotiation.
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: John S. Britsios (aka Webnauts)</title>
		<link>http://www.askapache.com/seo/advanced-http-redirection.html#comment-67952</link>
		<dc:creator>John S. Britsios (aka Webnauts)</dc:creator>
		<pubDate>Mon, 02 Mar 2009 19:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/seo/advanced-http-redirection.html#comment-67952</guid>
		<description>You mentioned about the 300 HTTP Headers:

&lt;blockquote&gt;
Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.&lt;/blockquote&gt;
Can you explain how can this be implemented?</description>
		<content:encoded><![CDATA[<p>You mentioned about the 300 HTTP Headers:</p>
<blockquote><p>
Depending upon the format and the capabilities of the user agent, selection of the most appropriate choice MAY be performed automatically. However, this specification does not define any standard for such automatic selection.</p></blockquote>
<p>Can you explain how can this be implemented?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
