On Sat, 23 May 2009 15:38:02 +0100, Mike Wilson <[email protected]> wrote:

>> Do you think that solution suggested by RFC 2616 13.13 is not
>> appropriate?
>
> It does not define what to do at page refresh, only history
> traversal, as far as I can see.

Sorry, I've assumed you were talking about Back button only.

In case of Refresh it depends whether user realizes implications of 
re-submitting. If browser designers don't believe that pressing Refresh button 
states intent clearly enough, then I think asking the question might be 
justified.

As creator of application you can solve this dylemma:

* If it's not safe to resubmit, use status 303. I know it's not very 
convenient, but can be implemented reasonably well and works with existing 
browsers.
* If it's safe to resubmit, use PUT method (allowed in HTML 5), which is 
idempotent by definition.

-- 
regards, Kornel Lesinski

Reply via email to