w3c / websub

WebSub Spec in Social Web Working Group
https://w3c.github.io/websub/
287 stars 51 forks source link

Temporary vs Permanent Redirect #150

Closed billc closed 6 years ago

billc commented 6 years ago

Is there some implied action a subscriber should take when receiving a 307 Temporary Redirect versus a 308 Permanent Redirect when subscribing to a topic URL? Reading 6.1.2 Subscription Response Details, I feel as though I am missing some important step to account for in a subscriber.

aaronpk commented 6 years ago

There isn't anything unique about WebSub to the handling of the response code beyond what HTTP says. Ultimately the difference doesn't matter that much, since in the end the subscriber will end up doing discovery at the topic URL to find the hub again when the subscription expires, and it will either find the old hub URL (and still encounter this redirect) or find the new hub URL.