+ fix error in checking script output : reverse order between calcul of content_length and erasing empty line