HttpWebRequest does not add referer header to redirects when AllowAutoRedirect is true #31225
Labels
area-System.Net
backlog-cleanup-candidate
An inactive issue that has been marked for automated closure.
documentation
Documentation bug or enhancement, does not impact product or test code
no-recent-activity
Milestone
According to
https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.referer?view=netframework-4.8
"If the AllowAutoRedirect property is true, the Referer property is set automatically when the request is redirected to another site."
However, this behavior does not happen.
Quick reproducible code:
The text was updated successfully, but these errors were encountered: