Re:You know how HTTP GET requests are meant to be idempotent?
by elmigranto on Tuesday May 01, 2018 @08:03AM
(#16966296)
Have a single "I clicked by mistake" button that resubscribes instead.
[ Parent
| on HN ]
Re:You know how HTTP GET requests are meant to be idempotent?
by jimktrains2 on Tuesday May 01, 2018 @08:32AM
(#16966446)
Yes, the automated system prefetching links will always click said button.
Re:You know how HTTP GET requests are meant to be idempotent?
by icebraining on Tuesday May 01, 2018 @08:56AM
(#16966608)
Not if the button issues a POST request.
Re:You know how HTTP GET requests are meant to be idempotent?
by jimktrains2 on Tuesday May 01, 2018 @09:07AM
(#16966698)
The button I was responding about was an "undo unsubscribe". A bot won't click that button, but may follow a link.
Re:You know how HTTP GET requests are meant to be idempotent?
by icebraining on Tuesday May 01, 2018 @09:11AM
(#16966725)
Right, I assumed the button would be linked from a subsequent email confirming the unsubscription. You're right, a button in the unsubscription page doesn't help.