add r.ContentLength for logging output