public static void RawServing(this IHttpResponse response, string mime, int maxAge, string data) { response.Headers.SetNormalizedHeader ("Content-Type", "Content-Type: "+mime+"; charset=utf-8"); response.Headers.SetNormalizedHeader ("Cache-Control", "max-age=" + maxAge); response.End (Encoding.UTF8.GetBytes (data)); }