<?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: Fomenting unREST : Is RESTfulness a semantics game ? Why does REST require statelessness ?</title>
	<atom:link href="http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/</link>
	<description>Dhananjay Nene's opinions on software programming, design, architecture and the internet</description>
	<lastBuildDate>Sun, 28 Feb 2010 03:58:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike Burrows</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-8062</link>
		<dc:creator>Mike Burrows</dc:creator>
		<pubDate>Tue, 09 Jun 2009 16:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-8062</guid>
		<description>Of course there is state in the server - it would be a very boring application otherwise!  Its the communication that needs to be stateless, a principle that&#039;s violated by the use of cookies (and by some uses of headers also).

Pragmatically though, I think security has to be an exception to this, but hopefully one that&#039;s made as transparent as possible to the application protocol.</description>
		<content:encoded><![CDATA[<p>Of course there is state in the server &#8211; it would be a very boring application otherwise!  Its the communication that needs to be stateless, a principle that&#8217;s violated by the use of cookies (and by some uses of headers also).</p>
<p>Pragmatically though, I think security has to be an exception to this, but hopefully one that&#8217;s made as transparent as possible to the application protocol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What is statelessness in REST ? &#124; /var/log/mind</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-5940</link>
		<dc:creator>What is statelessness in REST ? &#124; /var/log/mind</dc:creator>
		<pubDate>Tue, 07 Apr 2009 16:43:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-5940</guid>
		<description>[...] my post Fomenting unREST : Is RESTfulness a semantics game ? Why does REST require statelessness ?, I had commented on some of my thoughts on dealing with some of the constraints prescribed by REST [...]</description>
		<content:encoded><![CDATA[<p>[...] my post Fomenting unREST : Is RESTfulness a semantics game ? Why does REST require statelessness ?, I had commented on some of my thoughts on dealing with some of the constraints prescribed by REST [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surya Suravarapu</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-5656</link>
		<dc:creator>Surya Suravarapu</dc:creator>
		<pubDate>Sat, 04 Apr 2009 02:04:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-5656</guid>
		<description>REST is stateless, meaning there is no session state tied to a particular client stored on the server. Session id / authorization token is something that you may not want to pass on as a part of the URI. I think the authentication part belongs to the header area.

Standard authentication mechanisms like Http Auth, OAuth can help achieve this. Another way of achieving this is by using cookies. The tricky thing with cookie is to make sure that the server validate the cookie with out session state. I read this piece recently on using digest with cookies on the REST-discuss group: http://tech.groups.yahoo.com/group/rest-discuss/message/10909</description>
		<content:encoded><![CDATA[<p>REST is stateless, meaning there is no session state tied to a particular client stored on the server. Session id / authorization token is something that you may not want to pass on as a part of the URI. I think the authentication part belongs to the header area.</p>
<p>Standard authentication mechanisms like Http Auth, OAuth can help achieve this. Another way of achieving this is by using cookies. The tricky thing with cookie is to make sure that the server validate the cookie with out session state. I read this piece recently on using digest with cookies on the REST-discuss group: <a href="http://tech.groups.yahoo.com/group/rest-discuss/message/10909" rel="nofollow">http://tech.groups.yahoo.com/group/rest-discuss/message/10909</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhananjay Nene</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-5634</link>
		<dc:creator>Dhananjay Nene</dc:creator>
		<pubDate>Fri, 03 Apr 2009 21:53:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-5634</guid>
		<description>&lt;blockquote&gt;If you are providing a REST api then session id is not required.&lt;/blockquote&gt; Agreed in principle. But the way I read REST, a purist approach would completely abhor session id, since that id typically is linked to some state on the server. 

&lt;blockquote&gt;There are many ways how we can implement a pure REST api for this particular case study. Eg. implementing REST version of oAuth to minimize sending critical info all the time and using smaller access tokens.&lt;/blockquote&gt; Interesting. Would an oAuth access token be considered a id or a resource ? Not sure.</description>
		<content:encoded><![CDATA[<blockquote><p>If you are providing a REST api then session id is not required.</p></blockquote>
<p> Agreed in principle. But the way I read REST, a purist approach would completely abhor session id, since that id typically is linked to some state on the server. </p>
<blockquote><p>There are many ways how we can implement a pure REST api for this particular case study. Eg. implementing REST version of oAuth to minimize sending critical info all the time and using smaller access tokens.</p></blockquote>
<p> Interesting. Would an oAuth access token be considered a id or a resource ? Not sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sushrut Bidwai</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-5627</link>
		<dc:creator>Sushrut Bidwai</dc:creator>
		<pubDate>Fri, 03 Apr 2009 20:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-5627</guid>
		<description>First of all I am not sure if seesion id is required. If you are providing a REST api then session id is not required. There are many ways how we can implement a pure REST api for this particular case study. Eg. implementing REST version of oAuth to minimize sending critical info all the time and using smaller access tokens. But that is not the point.
Point you have raised is correct, sometimes being creator of a technology or architecture style (in this case) we tend to be too rigid about rules and regulation. the best we not so REST api providers can do is call it REST99 (99.9% pure REST) and leave it there.</description>
		<content:encoded><![CDATA[<p>First of all I am not sure if seesion id is required. If you are providing a REST api then session id is not required. There are many ways how we can implement a pure REST api for this particular case study. Eg. implementing REST version of oAuth to minimize sending critical info all the time and using smaller access tokens. But that is not the point.<br />
Point you have raised is correct, sometimes being creator of a technology or architecture style (in this case) we tend to be too rigid about rules and regulation. the best we not so REST api providers can do is call it REST99 (99.9% pure REST) and leave it there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Davison</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-5619</link>
		<dc:creator>Mike Davison</dc:creator>
		<pubDate>Fri, 03 Apr 2009 17:49:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-5619</guid>
		<description>Great article that delves into the practical side of the HATEOS debate.  Well done.</description>
		<content:encoded><![CDATA[<p>Great article that delves into the practical side of the HATEOS debate.  Well done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Software / IT Terms in early stages of abuse or ripe for Abuse &#124; /var/log/mind</title>
		<link>http://blog.dhananjaynene.com/2008/11/rest-fomenting-unrest-is-restfulness-a-semantics-game-why-does-rest-require-statelessness/comment-page-1/#comment-3896</link>
		<dc:creator>Software / IT Terms in early stages of abuse or ripe for Abuse &#124; /var/log/mind</dc:creator>
		<pubDate>Tue, 27 Jan 2009 21:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dhananjaynene.com/?p=154#comment-3896</guid>
		<description>[...] There is another issue as well with using REST as the moniker to describe HTTP based APIs. Roy Fielding eloquently points out that REST is so different from RPC. Yet in a logical sense, many requirements for HTTP APIs are very RPC like. It is possible to represent such an API using REST semantics (instead of user/delete/123 call it userdeletion/create/123 .. a name mangling trick). Moreover REST requires statelessness, a requirement that not all applications necessarily comply with. I am not suggesting they should, just that should they choose to not be completely stateless it would be difficult to term their APIs REST. These were both issues I had referred to in my earlier post Fomenting unREST : Is RESTfulness a semantics game ? Why does REST require statelessness ?. [...]</description>
		<content:encoded><![CDATA[<p>[...] There is another issue as well with using REST as the moniker to describe HTTP based APIs. Roy Fielding eloquently points out that REST is so different from RPC. Yet in a logical sense, many requirements for HTTP APIs are very RPC like. It is possible to represent such an API using REST semantics (instead of user/delete/123 call it userdeletion/create/123 .. a name mangling trick). Moreover REST requires statelessness, a requirement that not all applications necessarily comply with. I am not suggesting they should, just that should they choose to not be completely stateless it would be difficult to term their APIs REST. These were both issues I had referred to in my earlier post Fomenting unREST : Is RESTfulness a semantics game ? Why does REST require statelessness ?. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.551 seconds -->
