forcing content-length header content to be of string type