# Request header field Dont-Chunk is not allowed by Access-Control-Allow-Headers in preflight response

**URL:** <https://meta.discourse.org/t/request-header-field-dont-chunk-is-not-allowed-by-access-control-allow-headers-in-preflight-response/49469>\
**Category:** Bug\
**Created:** [31 באוגוסט,‏ 2016,‏ 2:51am UTC](https://meta.discourse.org/t/request-header-field-dont-chunk-is-not-allowed-by-access-control-allow-headers-in-preflight-response/49469 "2016-08-31T02:51:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![brahn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brahn/32/109267_2.png) [@brahn](https://meta.discourse.org/u/brahn)\
**Post date:** [31 באוגוסט,‏ 2016,‏ 2:51am UTC](https://meta.discourse.org/t/request-header-field-dont-chunk-is-not-allowed-by-access-control-allow-headers-in-preflight-response/49469/1 "2016-08-31T02:51:39Z")

</div>

After setting up [Full site CDN acceleration for Discourse](https://meta.discourse.org/t/full-site-cdn-acceleration-for-discourse/21467) I am seeing the following in chrome console:

> XMLHttpRequest cannot load [https://mydomain.com/message-bus/d487d3e56113405b95d297fbc468c99d/poll?dlp=t](https://mydomain.com/message-bus/d487d3e56113405b95d297fbc468c99d/poll?dlp=t). Request header field Dont-Chunk is not allowed by Access-Control-Allow-Headers in preflight response.

Also, it doesn’t seem to always happen and it seems to be only those requests with the `?dip=t` parameter:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/6/b6006991c63032a8d06400558715200af0441938.png)

The site is on stable, v1.6.1 and I am assuming that something in my config is not quite right but I am not sure where to start.

Any hints on where to look or how to approach diagnosing this?

---

_[View the full topic](https://meta.discourse.org/t/request-header-field-dont-chunk-is-not-allowed-by-access-control-allow-headers-in-preflight-response/49469)._
