dotnet / dotnet/dotnet-api-docs

Issue with doc page for HttpResponse.RedirectPermanent method

Open
#9,780 1 comment 0 reactions 0 assignees View on GitHub
area-System.Web Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

In the following MS document page, for the RedirectPermanent method, default value seems to be true instead of false. I have tested it on my local machine and it is ending the response by default similar to Redirect method.

https://learn.microsoft.com/en-us/dotnet/api/system.web.httpresponse.redirectpermanent?view=netframework-4.8.1#system-web-httpresponse-redirectpermanent(system-string)

```
RedirectPermanent(String, Boolean)
true to terminate the response; otherwise false. The default is false.
```

Also, it requires to correct method documentation which show up in Visual Studio.
![image](https://github.com/dotnet/dotnet-api-docs/assets/165524560/9a31ac53-71b7-4841-bde0-3624662bf043)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.