CA-84687: Fixing CORS headers that were added before HTTP status line.
CA-84687: Fixing CORS headers that were added before HTTP status line.

Signed-off-by: Rabin Karki <742da2d1a2bb077a45863ef05903e3ca99aef24c@citrix.com>

simonjbeaumont/xcp-rrdd,koushikcgit/xcp-networkd,djs55/xcp-networkd,johnelse/xcp-rrdd,koushikcgit/xcp-rrdd,johnelse/xcp-rrdd,simonjbeaumont/xcp-rrdd,robhoes/squeezed,koushikcgit/xcp-rrdd,sharady/xcp-networkd,koushikcgit/xcp-rrdd,djs55/xcp-rrdd,koushikcgit/xcp-networkd,djs55/xcp-rrdd,djs55/xcp-networkd,sharady/xcp-networkd,djs55/squeezed