var res = Request.CreateResponse(HttpStatusCode.OK, file);
res.Content.Headers.ContentType = new MediaTypeHeaderValue("text/html"); ;
return res;
转载于:https://www.cnblogs.com/niaowo/p/3732722.html
var res = Request.CreateResponse(HttpStatusCode.OK, file);
res.Content.Headers.ContentType = new MediaTypeHeaderValue("text/html"); ;
return res;
转载于:https://www.cnblogs.com/niaowo/p/3732722.html