As a follow-up to #1234, this issue should track the progress of a match(verb) primitive for the Router module that enables serving requests with non-traditional HTTP methods such as MOVE, COPY etc., which are required when implementing a server that can speak the WebDAV protocol or others.
In #1234 it was decided that a new primitive would be the best choice for such an enhancement because it enables the creation of own, domain specific macros (such as get/3, post/3 etc.) and does not require recompiling Phoenix when adding new methods.
Ping @chrismccord @josevalim.
As a follow-up to #1234, this issue should track the progress of a
match(verb)primitive for the Router module that enables serving requests with non-traditional HTTP methods such asMOVE,COPYetc., which are required when implementing a server that can speak the WebDAV protocol or others.In #1234 it was decided that a new primitive would be the best choice for such an enhancement because it enables the creation of own, domain specific macros (such as
get/3,post/3etc.) and does not require recompiling Phoenix when adding new methods.Ping @chrismccord @josevalim.