# Downloading backups should include Content Length

**URL:** https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175
**Category:** Feature
**Created:** [September 18, 2014, 1:21am UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175 "2014-09-18T01:21:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [September 18, 2014, 1:21am UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175/1 "2014-09-18T01:21:40Z")

</div>

When downloading backups from the admin page the browser is unable to display a progress bar due to `Content Length` header not being included.

![](https://global.discourse-cdn.com/meta/original/3X/d/7/d71ce01d5b4f427dd5f3995885cf0be28bd0b93b.png)

When backups get large it is difficult to know how far though the download progress we are.

I would like to request content length to be included.

Cheers,  
Dean.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [September 18, 2014, 4:59am UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175/2 "2014-09-18T04:59:07Z")

</div>

@zogstrip this sounds pretty easy in theory. Could we add it?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 22, 2014, 11:55am UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175/3 "2014-09-22T11:55:58Z")

</div>

Are you sure it’s not? When I ran fiddler it seemed to be there

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [September 22, 2014, 12:42pm UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175/4 "2014-09-22T12:42:25Z")

</div>

I’m sure @sam

Here is my fiddler output:  
 ![](https://global.discourse-cdn.com/meta/original/3X/d/3/d344d23864a23fd07e8bfa5b75c41998e47c71f1.png)

And Google Chrome Developer Tools - Network Response headers:  
 ![](https://global.discourse-cdn.com/meta/original/3X/0/6/06a269c3954ba50f260373ab3c30ad34063ce0c5.png)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 22, 2014, 11:27pm UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175/5 "2014-09-22T23:27:31Z")

</div>

This is fixed:

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

Can you see if this fixed the invalid file stuff ?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 22, 2014, 11:27pm UTC](https://meta.discourse.org/t/downloading-backups-should-include-content-length/20175/6 "2014-09-22T23:27:34Z")

</div>


