var separator = new string[] { string.Format("{0}{0}{0}", Environment.NewLine) };
var arr = project.Variables["Response"].Value
.Trim()
.Split(separator, StringSplitOptions.None);
project.Variables["ResponseHeaders"].Value = arr.First();
project.Variables["ResponseBody"].Value = arr.Last();