Skip to content

Commit 33fe127

Browse files
authored
Fix remarks for Referer
Fixes dotnet/runtime#31225 Retested the WebRequest, it does not auto-include the Referer header in any of the requests during redirect.
1 parent 7f6af85 commit 33fe127

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

xml/System.Net/HttpWebRequest.xml

-2
Original file line numberDiff line numberDiff line change
@@ -4492,8 +4492,6 @@ The GetHashCode method returns a hash code of the web request. This value can be
44924492
44934493
[!INCLUDE [obsolete-notice](~/includes/web-request-obsolete.md)]
44944494
4495-
If the <xref:System.Net.HttpWebRequest.AllowAutoRedirect%2A> property is `true`, the <xref:System.Net.HttpWebRequest.Referer%2A> property is set automatically when the request is redirected to another site.
4496-
44974495
To clear the `Referer` HTTP header, set the <xref:System.Net.HttpWebRequest.Referer%2A> property to `null`.
44984496
44994497
> [!NOTE]

0 commit comments

Comments
 (0)