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

binary file serving not working #4

Open
gzmask opened this issue Dec 19, 2012 · 2 comments
Open

binary file serving not working #4

gzmask opened this issue Dec 19, 2012 · 2 comments

Comments

@gzmask
Copy link

gzmask commented Dec 19, 2012

text files opens fine.

@jottinger
Copy link

Can you show the code you've used to serve binary content? (Is it still an issue?)

@folkersj
Copy link

Just to answer an old question:
I changed on line 524:
size_t body_len = strlen(body.c_str());
to
size_t body_len = body.length();

Then it worked for me.

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

3 participants