Issue with multipart response compression

Hello

I use Nginx/1.4.4 as a reverse proxy and my backend webserver generates
multipart response with some dynamic boundary.

I use nginx gzip module to send compress data to the client but it is
unable to compress this multipart response which contains dynamic
boundary
in content_type.

If I use gzip_type as below, it doesn’t work.
gzip_types ‘multipart/mixed’;

If I include boundary in gzip_type, it works fine but boundary is
dynamic
in my case.
gzip_types ‘multipart/mixed; boundary=“Ajm,e3pN”’ ;

Can someone suggest solution for this?

Thanks,
Makailol

Hello

Could someone check this and help me for compressing the multipart
response
with dynamic boundary?

Thanks,
Makailol

On Jan 21, 2014, at 9:58 , Makailol C. wrote:

gzip_types ‘multipart/mixed; boundary=“Ajm,e3pN”’ ;

Can someone suggest solution for this?

If you can limit these responses in location then

location /uri {
gzip_types *;

}

Thanks for your suggestion . It is possible for me to implement.

Regards,
Makailol

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs