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

Set content-length automatically in Reqd.respond_with_string #192

Open
brendanlong opened this issue Mar 14, 2021 · 0 comments
Open

Set content-length automatically in Reqd.respond_with_string #192

brendanlong opened this issue Mar 14, 2021 · 0 comments

Comments

@brendanlong
Copy link

I just wrote some code to learn how to use Httpaf and I was confused that all of my requests seemed to hang. After reading the examples, I realized I needed to set the content-length header.

I was wondering though, since Reqd.respond_with_string has the entire response, shouldn't it add this header automatically?

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