diff --git a/src/Flurl.Http/Configuration/FlurlHttpSettings.cs b/src/Flurl.Http/Configuration/FlurlHttpSettings.cs index 6ac730b9..760bbc4b 100644 --- a/src/Flurl.Http/Configuration/FlurlHttpSettings.cs +++ b/src/Flurl.Http/Configuration/FlurlHttpSettings.cs @@ -173,8 +173,8 @@ public void ResetDefaults() { internal T Get([CallerMemberName]string propName = null) { IEnumerable prioritize() { yield return HttpTest.Current?.Settings; - yield return this; - yield return Parent; + for (var settings = this; settings != null; settings = settings.Parent) + yield return settings; yield return Defaults; }