add PUT support to HttpFunctions