async fn finalize_basic_error_response(
response: Response<BoxBody<Bytes, Error>>,
request_parts: Parts,
http3_alt_port: Option<u16>,
loggers: &[Sender<LogMessage>],
socket_data: &SocketData,
date_format: Option<&str>,
log_format: Option<&str>,
) -> Response<BoxBody<Bytes, Error>>Expand description
Helper function to finalize a basic error response with logging and default headers