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

Is there any example for chunked transfer encoding ? #88

Closed
malickf opened this issue Feb 17, 2018 · 2 comments
Closed

Is there any example for chunked transfer encoding ? #88

malickf opened this issue Feb 17, 2018 · 2 comments

Comments

@malickf
Copy link

malickf commented Feb 17, 2018

I'm developing a client that receive HTTPS response by chunked transfer encoding , I found the example

// client.cpp
very useful unfortunately it does not use the Chunked transfer encoding protocol. Do you know if there is an example of a client, made with asio that support this protocol ?
I have tried to play with boost::asio::transfer_exactly by providing the received chunk size without success.
Thanks,
Malick

Edit: in short I'm looking for an example that receive asynchronously a response and that can disentangle the chuck size from the chunk body.

@malickf
Copy link
Author

malickf commented Feb 17, 2018

I'm realizing that asio is low level oriented, so I guess that my "issue" may be irrelevant here... I probably need to handle the chunked content format myself.... So I'm closing this issue.

@malickf malickf closed this as completed Feb 17, 2018
@abcdef123ghi
Copy link

I'm realizing that asio is low level oriented, so I guess that my "issue" may be irrelevant here... I probably need to handle the chunked content format myself.... So I'm closing this issue.

Hi folks
I have same problem as well , could you please share your code with me? Thank you so much

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

2 participants