record content_length