Handles multiline responses properly.