Private GIT

Skip to content
Snippets Groups Projects
Commit ddffe651 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Proxy and session fixes:

Move duplicate code to a new method, to set up a default set of session parameters
Remove referer from header is not using proxy
Add referer when using global proxy setting too, not just provider proxy
use `with closing()` when reading from a stream based get, because we could return without reading all of the content
No need to define self.session in providers, it's defined in generic __init__
tvcache.getRSSFeed only proxied 1 scheme, use the url for both until we can add a sickbeard.HTTPS_PROXY_SETTING
parent c5a1180d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment