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

Question on Keep-Alive header #136

Open
dadah89 opened this issue Apr 19, 2022 · 0 comments
Open

Question on Keep-Alive header #136

dadah89 opened this issue Apr 19, 2022 · 0 comments

Comments

@dadah89
Copy link

dadah89 commented Apr 19, 2022

hi! Have a question on the Keep-Alive header.

I see in https://github.com/drbrain/net-http-persistent/blob/master/lib/net/http/persistent.rb#L943 that the header is set to a value (30 by default), so it'll send a header like Keep-Alive: 30.

But looking at the specification for the Keep-Alive header looks like it expects to be set with directives (e.g. timeout=30) instead of a number:

Is that conclusion correct? Or am I mixing up things and not looking at the correct references docs?

Thanks!

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