I am implementing OAuth on ASP.NET and I have the following trouble.
The following code from IHttpHandler implementation:
response.Write("XXX); response.StatusCode = 403; response.ContentType = "text/plain";
should return "XXX" with status 403. Instead I get default IIS 403 error page in html format.
Both IIS7 and Cassini have the same issue开发者_C百科.
Any ideas?
精彩评论