replace http components