actually parse the response header