-Control,no-cache)|" +
      "header(Access-Control-Max-Age,0)|" +
      "header(Access-Control-Allow-Origin,*)|" +
      "header(X-foo,BAR)|" +
      "header(x-test,TEST)|" +
      "header(Access-Control-Expose-Headers,x-Foo)|",
      "header(Content-Type,text/html)");

  xhr.onerror = test.unreached_func("Unexpected error");

  xhr.onload = test.step_func_done(() => {
    assert_equals(xhr.status, 200);
    assert_equals(xhr.getResponseHeader("X-FOO"), "BAR");
    assert_equals(xhr.getResponseHeader("x-fo