set status to 201 and not 303 https://github.com/extend/cowboy/issues/424