# Downloading CSS and HTML Customizations export fails

**URL:** <https://meta.discourse.org/t/downloading-css-and-html-customizations-export-fails/58561>\
**Category:** Bug\
**Created:** [2017 年 3 月 7 日午後 3:13 UTC](https://meta.discourse.org/t/downloading-css-and-html-customizations-export-fails/58561 "2017-03-07T15:13:11Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [2017 年 3 月 8 日午後 7:57 UTC](https://meta.discourse.org/t/downloading-css-and-html-customizations-export-fails/58561/6 "2017-03-08T19:57:12Z")

</div>

This issue was specific to Chrome/Chromium browser.

Chrome browser was not including `HTTP_ACCEPT` header when requesting file download. I fixed this issue by removing `download` attribute (from anchor tag) so now Chrome is making download request with `HTTP_ACCEPT` header included. Verified that download is working fine on Firefox and Safari as well.

[https://github.com/discourse/discourse/commit/dfd5b06c82ab30632ba6fdef224f8971eab0a44e](https://github.com/discourse/discourse/commit/dfd5b06c82ab30632ba6fdef224f8971eab0a44e)

---

_[View the full topic](https://meta.discourse.org/t/downloading-css-and-html-customizations-export-fails/58561)._
