<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-7376220592903881040.post3353165550210079367..comments</id><updated>2011-07-29T21:22:35.560+05:30</updated><category term='msvc'/><category term='computer science'/><category term='gsoc'/><category term='mozmill'/><category term='TV'/><category term='ssd'/><category term='javascript'/><category term='birthday'/><category term='icons'/><category term='xpconnect'/><category term='apple'/><category term='build system'/><category term='fonts'/><category term='os x'/><category term='games'/><category term='music'/><category term='advertising'/><category term='open source'/><category term='console2'/><category term='xul'/><category term='patches'/><category term='mozconfig'/><category term='taskbar'/><category term='C#'/><category term='thought-provoking'/><category term='android'/><category term='git'/><category term='ahci'/><category term='todo'/><category term='mathematics'/><category term='windows'/><category term='mozilla'/><category term='programming languages'/><category term='iit'/><category term='recursion'/><category term='oz'/><title type='text'>Comments on defunct: Why you should care about: idempotence and nullipo...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://monogatari.doukut.su/feeds/3353165550210079367/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default'/><link rel='alternate' type='text/html' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html'/><author><name>Sid</name><uri>http://www.blogger.com/profile/01278191091270098950</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7376220592903881040.post-258471973122045821</id><published>2011-07-29T20:44:03.158+05:30</published><updated>2011-07-29T20:44:03.158+05:30</updated><title type='text'>If you only care about modern browsers, you can al...</title><content type='html'>If you only care about modern browsers, you can also use the history.replaceState method to turn your POSTed page into a GETtable page client-side, without a redirect. This got fixed in Bugzilla recently, so after you make changes to a bug you wind up with a usable URL in the location bar:&lt;br /&gt;https://bugzilla.mozilla.org/show_bug.cgi?id=577720</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/258471973122045821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/258471973122045821'/><link rel='alternate' type='text/html' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html?showComment=1311952443158#c258471973122045821' title=''/><author><name>Ted Mielczarek</name><uri>http://www.blogger.com/profile/10137338363695482997</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html' ref='tag:blogger.com,1999:blog-7376220592903881040.post-3353165550210079367' source='http://www.blogger.com/feeds/7376220592903881040/posts/default/3353165550210079367' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-338942478'/></entry><entry><id>tag:blogger.com,1999:blog-7376220592903881040.post-1493378650993018937</id><published>2011-07-29T19:46:02.855+05:30</published><updated>2011-07-29T19:46:02.855+05:30</updated><title type='text'>Yeah, that&amp;#39;s the standard solution. It&amp;#39;s n...</title><content type='html'>Yeah, that&amp;#39;s the standard solution. It&amp;#39;s not a hack either, because you&amp;#39;re dividing the operation into a non-idempotent and an idempotent (well, nullipotent) part.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/1493378650993018937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/1493378650993018937'/><link rel='alternate' type='text/html' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html?showComment=1311948962855#c1493378650993018937' title=''/><author><name>Sid</name><uri>http://www.blogger.com/profile/01278191091270098950</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html' ref='tag:blogger.com,1999:blog-7376220592903881040.post-3353165550210079367' source='http://www.blogger.com/feeds/7376220592903881040/posts/default/3353165550210079367' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1039417261'/></entry><entry><id>tag:blogger.com,1999:blog-7376220592903881040.post-6572884668906624436</id><published>2011-07-29T19:43:23.670+05:30</published><updated>2011-07-29T19:43:23.670+05:30</updated><title type='text'>The &amp;quot;canonical&amp;quot; solution is for operatio...</title><content type='html'>The &amp;quot;canonical&amp;quot; solution is for operations that &amp;quot;change the database&amp;quot; to use a POST request that return a redirect response.&lt;br /&gt;&lt;br /&gt;In that way, you get the benefits of POST and pressing F5 on the returned page does not give you that horrible message and you don&amp;#39;t repeat the post request, but the GET request that came after the browser was redirected.&lt;br /&gt;&lt;br /&gt;That means handling GET and POST diferently on the server side which many web frameworks make really easy.&lt;br /&gt;&lt;br /&gt;Plain old PHP is not one of them.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/6572884668906624436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/6572884668906624436'/><link rel='alternate' type='text/html' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html?showComment=1311948803670#c6572884668906624436' title=''/><author><name>ignorante</name><uri>http://ignorante.wordpress.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html' ref='tag:blogger.com,1999:blog-7376220592903881040.post-3353165550210079367' source='http://www.blogger.com/feeds/7376220592903881040/posts/default/3353165550210079367' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1267473414'/></entry><entry><id>tag:blogger.com,1999:blog-7376220592903881040.post-7698404547495684750</id><published>2011-07-29T15:30:46.412+05:30</published><updated>2011-07-29T15:30:46.412+05:30</updated><title type='text'>&amp;gt; On the flip side, you shouldn&amp;#39;t use POST ...</title><content type='html'>&amp;gt; On the flip side, you shouldn&amp;#39;t use POST for &lt;br /&gt;&amp;gt; an operation that would work with GET&lt;br /&gt;&lt;br /&gt;Sometimes a POST ends up being used simply so that the parameters aren&amp;#39;t exposed in the query string as they are with a GET. We recently had some code audited by a third party security firm who insisted that all calls to the back-end should be POSTs for precisely that reason.&lt;br /&gt;&lt;br /&gt;Perhaps there&amp;#39;s a need for a form of GET which puts the parameters in the request body, as with a POST, yet retains the nullipotency of GET.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/7698404547495684750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7376220592903881040/3353165550210079367/comments/default/7698404547495684750'/><link rel='alternate' type='text/html' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html?showComment=1311933646412#c7698404547495684750' title=''/><author><name>Xav</name><uri>http://www.blogger.com/profile/09949162220993711724</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://monogatari.doukut.su/2011/07/why-you-should-care-about-idempotence.html' ref='tag:blogger.com,1999:blog-7376220592903881040.post-3353165550210079367' source='http://www.blogger.com/feeds/7376220592903881040/posts/default/3353165550210079367' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1284461549'/></entry></feed>
