Fixed issue with Linux,

setup content-length when we send a POST or PUT commad