We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Middleware/src/ProblemDetails/ProblemDetailsMiddleware.cs
Line 197 in 4e38c07
See https://docs.microsoft.com/en-us/dotnet/api/system.web.httpresponse.clear?view=netframework-4.8#remarks
The Clear method does not clear header information.
The text was updated successfully, but these errors were encountered:
You're looking at the documentation for System.Web.HttpResponse, i.e. ASP.NET (non-Core). The behavior is different for ASP.NET Core:
System.Web.HttpResponse
https://github.com/aspnet/AspNetCore/blob/f989daca4bc81090e4fc882fbd983be8b0fa84a9/src/Http/Http.Extensions/src/ResponseExtensions.cs#L12-L25
As you can see, it's clearly (no pun intended 😂) clearing the headers 😄
Sorry, something went wrong.
No branches or pull requests
Middleware/src/ProblemDetails/ProblemDetailsMiddleware.cs
Line 197 in 4e38c07
See https://docs.microsoft.com/en-us/dotnet/api/system.web.httpresponse.clear?view=netframework-4.8#remarks
The text was updated successfully, but these errors were encountered: