added "application/x-www-form-urlencoded" header to PUT methods