Minor changes to the __add_content method of HTTPRepo.