Fix for Curl::put() requests