# Content-length missing from Nginx headers

**URL:** <https://www.ruby-forum.com/t/content-length-missing-from-nginx-headers/243277>\
**Category:** NGINX\
**Created:** [September 7, 2015, 5:21pm UTC](https://www.ruby-forum.com/t/content-length-missing-from-nginx-headers/243277 "2015-09-07T17:21:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [September 7, 2015, 5:21pm UTC](https://www.ruby-forum.com/t/content-length-missing-from-nginx-headers/243277/1 "2015-09-07T17:21:38Z")

</div>

Hi

When browsing one of our websites the content-length field header is not  
shown, even with gzip turned off. This causes issues with  
chunked\_transfer\_encoding and kaspersky av.

How can we get the content-length to show?

This is a ruby on rails app using passenger.

Thanks

Stuart

Posted at Nginx Forum:

> **[Content-length missing from Nginx headers](https://forum.nginx.org/read.php?2,261476,261476#msg-261476)**
>
> Hi When browsing one of our websites the content-length field header is not shown, even with gzip turned off. This causes issues with chunked\_transfer\_encoding and kaspersky av. How can we get the content-length to show? This is a ruby on rails app...
