Set xhr accept header