mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Added an option in Config -> Other Options -> Requests to change the max amount of redirects allowed for the requests in a certain config.
This commit is contained in:
@@ -42,6 +42,10 @@ namespace RuriLib
|
||||
private bool ignoreResponseErrors = false;
|
||||
/// <summary>Whether to proceed if an HTTP request fails instead of giving the ERROR status.</summary>
|
||||
public bool IgnoreResponseErrors { get { return ignoreResponseErrors; } set { ignoreResponseErrors = value; OnPropertyChanged(); } }
|
||||
|
||||
private int _maxRedirects = 8;
|
||||
/// <summary>The maximum amount of times we can be redirected to different URLs for a single request.</summary>
|
||||
public int MaxRedirects { get { return _maxRedirects; } set { _maxRedirects = value; OnPropertyChanged(); } }
|
||||
#endregion
|
||||
|
||||
#region Proxy
|
||||
|
||||
Reference in New Issue
Block a user