diff options
Diffstat (limited to 'MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs index a4337bab4..5efb39cbc 100644 --- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs +++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs @@ -128,6 +128,11 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager request.Host = options.Host; } + if (!string.IsNullOrEmpty(options.Referer)) + { + request.Referer = options.Referer; + } + #if !__MonoCS__ if (options.EnableKeepAlive) { |
