Keep-Alive Connection Example

The Keep-Alive Connection means that the server won't close the Connection after fulfilling the request. In HTTP 1.1, all connections are considered persistent unless declared otherwise. The HTTP 1.0 clients request persistent Connection by sending the "Connection: keep-alive" request header to the server. The servers inform the clients about persistent connections by including the "Connection: keep-alive" header in the response. Clients may specify the persistent connection options in a separate "Keep-Alive: [options]" HTTP header. In this Keep-Alive Connection example, we are sending Connection and Keep-Alive headers to the ReqBin echo URL.
Loading...