function create_server_routing_response(route, params, url, manifest) {
	const headers = new Headers({
		'content-type': 'application/javascript; charset=utf-8'
	});

	if (route) {
		const csr_route = generate_route_object(route, url, manifest);
		const body = `${create_css_import(route, url, manifest)}\nexport const route = ${csr_route}; export const params = ${JSON.stringify(params)};`;

		return { response: text(body, { headers }), body };
	} else {
		return { response: text('', { headers }), body: '' };
	}
}
@param {import('types').SSRClientRoute | null} route
@param {Partial<Record<string, string>>} params
@param {URL} url
@param {import('@sveltejs/kit').SSRManifest} manifest
@returns {{response: Response, body: string}}