Why not just print the header name without the prefix?

    for (const auto& header : request.headers)
      data << "<b>" << header.name << ":</b> " << header.value << "<br>";