For PUT, generate 201 by explicitly setting the location header with
cowboy_req:set_resp_header/3 instead of
using the "{{true, Newlocation}, Req3, State}" return value.
Go back to mainline cowboy repository in .erlang.mk.packages.v1.