XHR needs to be opened to set headers
Relaxing the header requirements