# Non standard mime types are not recognized by gzip\_types?

**URL:** <https://www.ruby-forum.com/t/non-standard-mime-types-are-not-recognized-by-gzip-types/193387>\
**Category:** NGINX\
**Created:** [August 16, 2010, 10:56pm UTC](https://www.ruby-forum.com/t/non-standard-mime-types-are-not-recognized-by-gzip-types/193387 "2010-08-16T22:56:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lololo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9f8e36/32.png) [@lololo](https://www.ruby-forum.com/u/lololo)\
**Post date:** [August 16, 2010, 10:56pm UTC](https://www.ruby-forum.com/t/non-standard-mime-types-are-not-recognized-by-gzip-types/193387/1 "2010-08-16T22:56:33Z")

</div>

Hi.

nginx/0.7.66 on Debian Stable

We have an application that sends the content type:

Content-Type: application/vnd.companyname.product;version=1.0

We have nginx as a proxy to these application servers. We would like  
nginx to gzip this data. We have tried the following for gzip\_types:

gzip\_types application/vnd application/vnd.companyname  
application/companyname.product  
‘application/vnd.companyname.product;version=1.0’  
application/vnd.companyname.product;version=1.0

(nginx was complaining of the unexpected ; without quotes or escape)

However, this content type has not been gzip’d per Content-Encoding and  
size. gzip works correctly for types text/html, application/json, and  
so on.

Are we missing something or must we wait for 0.8.x for wildcard matching  
with gzip\_types?

Thanks!

Posted at Nginx Forum:

> **[Non standard mime types are not recognized by gzip\_types?](https://forum.nginx.org/read.php?2,120471,120471#msg-120471)**
>
> Hi. nginx/0.7.66 on Debian Stable We have an application that sends the content type: Content-Type: application/vnd.companyname.product;version=1.0 We have nginx as a proxy to these application servers. We would like nginx to gzi

---

<div class="post-metadata">

**Author:** ![lololo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9f8e36/32.png) [@lololo](https://www.ruby-forum.com/u/lololo)\
**Post date:** [August 17, 2010, 12:50am UTC](https://www.ruby-forum.com/t/non-standard-mime-types-are-not-recognized-by-gzip-types/193387/2 "2010-08-17T00:50:42Z")

</div>

Hello!

On Mon, Aug 16, 2010 at 04:55:30PM -0400, lo wrote:

> nginx to gzip this data. We have tried the following for gzip\_types:  
> so on.
> 
> Are we missing something or must we wait for 0.8.x for wildcard matching  
> with gzip\_types?

gzip\_types ‘application/vnd.companyname.product;version=1.0’;  
works fine here in 0.7.66, most likely you missed something.

Maxim D.
