logoalt Hacker News

CodesInChaostoday at 12:27 PM4 repliesview on HN

I wonder if HTML forms will add support for QUERY:

    <form action="..." method="query">
This would avoid the annoying re-submission warnings you're getting if you refresh a page that was returned by a POST form submission, since QUERY is required to be idempotent.

Replies

bob1029today at 1:03 PM

This is better solved with the post redirect get pattern.

tempfiletoday at 1:20 PM

Depends whether your form submission should expect side effects or not. Most forms submissions have side effects. If the effect is truly idempotent, wouldn't PUT be a better verb? That is also supposed to be idempotent.

show 1 reply
100mstoday at 12:32 PM

Forms, HTTP implementations, public API surfaces, and all for what exactly. Introducing a new verb for this feels profoundly misplaced

show 2 replies
ctdinjeu7today at 12:41 PM

Now HN’s UX can finally be decent.

The team will have to wait for a new header and textarea specs to fix the rest of the jank.

This site is so awful lol. Why don’t they update it?

show 1 reply