标签: c# asp.net http ashx
我正在使用Visual Studio 10 .Net Framework 4.0。 我想发送状态码为401的HTTP响应。我尝试了this上的解决方案。
我的代码是:
ELSE 0
但是我仍然收到状态码200。如何生成401状态码?