Handling gzipped requests

47 kali dilihat
Langsung ke pesan pertama yang belum dibaca

Samarjit Uppal

belum dibaca,
17 Jun 2015, 02.17.3917/06/15
kepadaopenre...@googlegroups.com

Hi,

Can openresty handle gzipped http requests? I can't seem to find a library equivalent to mod_deflate like apache has which decompresses gzipped content.

Thanks,
Samar

Yichun Zhang (agentzh)

belum dibaca,
17 Jun 2015, 02.24.0617/06/15
kepadaopenresty-en
Hello!
See http://nginx.org/en/docs/http/ngx_http_gunzip_module.html

There're also some 3rd-party zlib Lua binding libraries you may find
useful in certain contexts.

Regards,
-agentzh

Jim Robinson

belum dibaca,
24 Jun 2015, 19.48.3724/06/15
kepadaopenre...@googlegroups.com
If you're talking about passing back a response you pulled from a backend, just add the module agentzh pointed out and stick

gunzip on;

into your configuration file.
Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru