Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: send and understand the hop-by-hop Keep-Alive header #15508
Now that we have
It's a little useless for the client to send it, but perhaps the server could take care not to close the connection just before (~second) of the client's announced close time, just in case the client was about to send something as the server would have otherwise closed.
Independently, and more usefully, the server could announce its keep-alive idle time (once it exists: #14204) and the client could respect it.