Closed chrahunt closed 5 years ago
Thanks for the report. Looks like you're right: as I understand it, a hub can accept a subscription for a while, then drop it with the mode 'denied' at any time while it's not expired. (If it is expired, I'd say returning 404 makes sense.) I'm not sure why a hub would ever do such a thing, but it's allowed.
If a subscriber gets into that situation, it should probably:
@chrahunt Did you encounter this in practise, or is it a purely theoretical concern? If the former, I would appreciate it if you could check if #3 solves the issue.
Ok, I think the current master branch should be able to handle this edge case. If not, feel free to re-open.
Per here:
However we're returning with 404 here if a denial comes in that is not associated with a pending subscription request.