diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-03 23:34:36 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-06-03 23:34:36 -0400 |
| commit | 3640f620863e4947a07ad6ebbf54ab6427534b38 (patch) | |
| tree | 2b9c58f6e0ea069f282e46cbf081b38229bacb94 /MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs | |
| parent | 71351344d7f5a9057fe19b754f5d14d917e79d60 (diff) | |
create collections from movies page
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) { |
