# Does body\_filter\_by\_lua get called when proxied server returns gzipped data?

**URL:** <https://www.ruby-forum.com/t/does-body-filter-by-lua-get-called-when-proxied-server-returns-gzipped-data/229228>\
**Category:** NGINX\
**Created:** [November 29, 2012, 11:38am UTC](https://www.ruby-forum.com/t/does-body-filter-by-lua-get-called-when-proxied-server-returns-gzipped-data/229228 "2012-11-29T11:38:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bart\_van\_Deenen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@Bart\_van\_Deenen](https://www.ruby-forum.com/u/Bart_van_Deenen)\
**Post date:** [November 29, 2012, 11:38am UTC](https://www.ruby-forum.com/t/does-body-filter-by-lua-get-called-when-proxied-server-returns-gzipped-data/229228/1 "2012-11-29T11:38:19Z")

</div>

Hi

I posted the recent thread on problems with body\_filter\_by\_lua, and I  
think it finally has to do with the fact that my browser allows gzipped  
data, and the server in my example returns gzipped data. I only found  
out using wireshark.

Could it be that the gzipped data don’t even reach the lua code?

Thanks

Bart
