fix HTTP PUT with data