chrome跨域上传图片失败 options 403???IE可以成功
context.Response.AppendHeader("Access-Control-Allow-Origin", "*"); context.Response.AddHeader("Access-Control-Allow-Headers", "X-Requested-With,X_Requested_With"); if (context.Request.HttpMethod == "OPTIONS") { context.Response.End(); } base.ProcessRequest(context);
响应头已经加上了,根目录的crossdomain.xml文件也加上了,但上传图片有下面的错误