check that we get a content-length header