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!
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!