home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
MP-TVSeries v4.3.6 Release [2020-01-24]
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ajs" data-source="post: 1263607" data-attributes="member: 68833"><p><strong>HttpWebRequest.AllowAutoRedirect Property</strong></p><p><a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.allowautoredirect?view=netframework-4.0" target="_blank">HttpWebRequest.AllowAutoRedirect Property (System.Net)</a></p><p><span style="font-size: 12px"><strong>Property Value</strong></span></p><p><a href="https://docs.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.0" target="_blank">Boolean</a></p><p><strong>true </strong>if the request should automatically follow redirection responses from the Internet resource; otherwise, <strong>false</strong>. The <strong>default value is true</strong>.</p><p><span style="font-size: 18px"><strong>Remarks</strong></span></p><p>Set <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.allowautoredirect?view=netframework-4.0" target="_blank">AllowAutoRedirect</a> to true if you want the request to automatically follow HTTP redirection headers to the new location of the resource. The maximum number of redirections to follow is set by the <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.maximumautomaticredirections?view=netframework-4.0" target="_blank">MaximumAutomaticRedirections</a> property.</p><p></p><p>If <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.allowautoredirect?view=netframework-4.0" target="_blank">AllowAutoRedirect</a> is set to false, all responses with an HTTP status code from 300 to 399 is returned to the application.</p><p></p><p>The Authorization header is cleared on auto-redirects and <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest?view=netframework-4.0" target="_blank">HttpWebRequest</a> automatically tries to re-authenticate to the redirected location. In practice, this means that an application can't put custom authentication information into the Authorization header if it is possible to encounter redirection. Instead, the application must implement and register a custom authentication module. The <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.authenticationmanager?view=netframework-4.0" target="_blank">System.Net.AuthenticationManager</a> and related class are used to implement a custom authentication module. The <a href="https://docs.microsoft.com/en-us/dotnet/api/system.net.authenticationmanager.register?view=netframework-4.0" target="_blank">AuthenticationManager.Register</a> method registers a custom authentication module.</p></blockquote><p></p>
[QUOTE="ajs, post: 1263607, member: 68833"] [B]HttpWebRequest.AllowAutoRedirect Property[/B] [URL="https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.allowautoredirect?view=netframework-4.0"]HttpWebRequest.AllowAutoRedirect Property (System.Net)[/URL] [SIZE=3][B]Property Value[/B][/SIZE] [URL='https://docs.microsoft.com/en-us/dotnet/api/system.boolean?view=netframework-4.0']Boolean[/URL] [B]true [/B]if the request should automatically follow redirection responses from the Internet resource; otherwise, [B]false[/B]. The [B]default value is true[/B]. [SIZE=5][B]Remarks[/B][/SIZE] Set [URL='https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.allowautoredirect?view=netframework-4.0']AllowAutoRedirect[/URL] to true if you want the request to automatically follow HTTP redirection headers to the new location of the resource. The maximum number of redirections to follow is set by the [URL='https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.maximumautomaticredirections?view=netframework-4.0']MaximumAutomaticRedirections[/URL] property. If [URL='https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest.allowautoredirect?view=netframework-4.0']AllowAutoRedirect[/URL] is set to false, all responses with an HTTP status code from 300 to 399 is returned to the application. The Authorization header is cleared on auto-redirects and [URL='https://docs.microsoft.com/en-us/dotnet/api/system.net.httpwebrequest?view=netframework-4.0']HttpWebRequest[/URL] automatically tries to re-authenticate to the redirected location. In practice, this means that an application can't put custom authentication information into the Authorization header if it is possible to encounter redirection. Instead, the application must implement and register a custom authentication module. The [URL='https://docs.microsoft.com/en-us/dotnet/api/system.net.authenticationmanager?view=netframework-4.0']System.Net.AuthenticationManager[/URL] and related class are used to implement a custom authentication module. The [URL='https://docs.microsoft.com/en-us/dotnet/api/system.net.authenticationmanager.register?view=netframework-4.0']AuthenticationManager.Register[/URL] method registers a custom authentication module. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
MP-TVSeries v4.3.6 Release [2020-01-24]
Contact us
RSS
Top
Bottom