make it possible to redefine how PUT / POST is used