Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加CINATRA_ENABLE_GZIP编译不通过。 #201

Open
Kidsunbo opened this issue Aug 13, 2021 · 0 comments
Open

添加CINATRA_ENABLE_GZIP编译不通过。 #201

Kidsunbo opened this issue Aug 13, 2021 · 0 comments

Comments

@Kidsunbo
Copy link
Contributor

Kidsunbo commented Aug 13, 2021

在添加CINATRA_ENABLE_GZIP后,编译不通过,原因可能是CINATRA_ENABLE_GZIP控制的代码依赖res_content_type,但是它已经被重命名为req_content_type,不过有两个地方漏掉了。

另外修复了之后代码依然有问题,看起来是set_status_and_content方法中,当CINATRA_ENABLE_GZIP打开后,else语句控制范围导致的。

想问一下gzip这个功能是否经过测试呢?其他部分用起来真的很棒。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant