added content length to headers