Skip to content

Question on Keep-Alive header #136

Description

@dadah89

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions