title: "Connection: close" header in HTTP request and response
body: <p>I wanted to know, who will initiate the closing of the TCP connection in below two scenarios?</p>
  <ol>
  <li>if HTTP request has a header &quot;Connection: close&quot; in it.</li>
  <li>if HTTP response has a header &quot;Connection: close&quot; in it.</li>
  </ol>
  <p>I saw answer for <a href="https://stackoverflow.com/questions/25133442/connection-close-for-http-request-response">Connection Close for HTTP request response</a> but it doesn't answer clearly the question one in that question.</p>