Log content-length missing warning only for put and post requests.