If the server responds with a "connection: close" header, Mint
will automatically close the connection, but the return value
will still be {:ok, conn, response}. At this point, if we try
to call controlling_process/2 on a closed connection, it will
fail.
If the server responds with a "connection: close" header, Mint will automatically close the connection, but the return value will still be {:ok, conn, response}. At this point, if we try to call
controlling_process/2
on a closed connection, it will fail.