}
}
- // Set “Connection: close”.
+ // Erase “Connection: close”; we'll set it on the sending side if needed.
// TODO: Make case-insensitive.
parameters.erase("Connection");
- parameters.insert(make_pair("Connection", "close"));
// Construct the new HTTP header.
http_header = "HTTP/1.0 200 OK\r\n";