我正在使用 .NET MVC。
当我返回new HttpResult(HttpStatusCode.NoContent);
创建的对象时,状态码 = 200:
{ServiceStack.Common.Web.HttpResult}
AllowsPartialResponse: false
ContentType: null
FileInfo: null
Headers: Count = 0
IsPartialRequest: false
Options: Count = 0
RequestContext: null
Response: NoContent
ResponseFilter: {ServiceStack.Common.Web.HttpResponseFilter}
ResponseStream: null
ResponseText: null
Status: 200
StatusCode: OK
StatusDescription: null
Template: null
View: null
嗯..什么?