# CORS multi-value response headers don't work in IE

**URL:** <https://discuss.elastic.co/t/cors-multi-value-response-headers-dont-work-in-ie/270618>\
**Category:** Elasticsearch\
**Created:** [April 19, 2021, 7:19pm UTC](https://discuss.elastic.co/t/cors-multi-value-response-headers-dont-work-in-ie/270618 "2021-04-19T19:19:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joht/32/87354_2.png) [@JohT](https://discuss.elastic.co/u/JohT)\
**Post date:** [April 19, 2021, 7:19pm UTC](https://discuss.elastic.co/t/cors-multi-value-response-headers-dont-work-in-ie/270618/1 "2021-04-19T19:19:51Z")

</div>

Hi,

i've installed the latest version 7.12. of elasticsearch on windows.  
While trying out a multi search api call from my local live server with XHR i got the same problem that had already been reported here:

[GitHub Issue 19841](https://github.com/elastic/elasticsearch/issues/19841)

When Internet Explorer 11 does a call using HTTP Method "OPTIONS" with CORS-Headers,  
elasticsearch answers with multiple headers instead of a comma separated list inside one Header. Internet Explorer denies the call due to CORS constraints.

The URL i use is:

```auto
_msearch/template?filter_path=responses.hits.total.value,responses.hits.hits._source,responses.hits.hits.highlight,hits.responses.hits.highlight,responses.aggregations.*.buckets"

```

May i post an issue on GitHub for that?!

Screenshots:  
[ElasticSearchOptionsMultipleAccessControlAllowHeaders|533x499](https://discuss.elastic.co/uploads/short-url/anIfZEYeYqrEcq96oBv7tDiujWQ.png)

 ![ElasticSearchOptionsInternetExplorerError](https://us1.discourse-cdn.com/elastic/original/3X/5/e/5eed151f85daa481d459ce5e7629927132cefe4f.png)

Similar topic on StackTrace:

> <https://stackoverflow.com/questions/51857247/ie-cors-access-control-allow-headers-error-even-though-headers-are-specified>

Best Regards  
Johannes

---

<div class="post-metadata">

**Author:** ![JohT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joht/32/87354_2.png) [@JohT](https://discuss.elastic.co/u/JohT)\
**Post date:** [April 22, 2021, 4:10pm UTC](https://discuss.elastic.co/t/cors-multi-value-response-headers-dont-work-in-ie/270618/2 "2021-04-22T16:10:50Z")

</div>

Since this is my first attempt to discuss a possible bug i'm not sure:

- Is this the right place for the post?
- Should i post it somewhere else (GitHub issues should be "verified" )?
- Or should i only be more patient? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 20, 2021, 4:11pm UTC](https://discuss.elastic.co/t/cors-multi-value-response-headers-dont-work-in-ie/270618/3 "2021-05-20T16:11:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
