Skip to content

Allow specifying a reason when handling (un)subscription requests.

Abhilash Raj requested to merge maxking/postorius:sub-req-reason into master

Fixes #450 (closed)

This converts the actions from URLs to parameters. Initially we had /accept|reject|discard|defer as URL structures. This is being changed to accept POST request.

A downside of this is that you can no-longer create GETable URLs like:

http://postorius/handle_request/<token>/accept

for a single step action. While this functionality isn't too difficult to implement by support GET parameters with a URL like:

http://postorius/handle_request/token?action=accept

It isn't currently a part of this MR.

Edited by Abhilash Raj

Merge request reports