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

beast 处理 gzip 吗?处理 chunked 吗? #14

Closed
tnie opened this issue Apr 25, 2021 · 2 comments
Closed

beast 处理 gzip 吗?处理 chunked 吗? #14

tnie opened this issue Apr 25, 2021 · 2 comments

Comments

@tnie
Copy link
Owner

tnie commented Apr 25, 2021

Change Body Type

Chunked Encoding

The parser automatically removes the chunked transfer coding when it is the last encoding in the list.

How to decompress gzip encoded response properly?

Beast only removes the chunk-encoding. You are responsible for everything else, including gzip.

Boost 库流处理

@tnie
Copy link
Owner Author

tnie commented Apr 25, 2021

// TODO 处理 empty body/chunked body/file body/gzipped content

@tnie
Copy link
Owner Author

tnie commented Apr 25, 2021

调试用的 http 服务器 https://httpbin.org/

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