Hi,
I am building a channel plugin and the website requires headers. The page retrieval using the Request operation works fine but the standard method to retrieve thumbnail Resource.ContentsOfURLWithFallback does not seem to use headers and so gives a 302 redirection
2015-06-07 17:19:52,266 (d9c8c) : DEBUG (runtime:918) - Response: [200] MediaContainer, 14844 bytes 2015-06-07 17:19:52,453 (d99e0) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.plugins.rainierland/resources/contentWithFallback?fallback=MoviePosterUnavailable.jpg&urls=http%253A%2F%2Frainierland.com%2Fwp-content%2Fuploads%2F2015%2F06%2FGoTs5e9.jpg 2015-06-07 17:19:52,466 (d99e0) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.plugins.rainierland/resources/contentWithFallback 2015-06-07 17:19:52,467 (d99e0) : DEBUG (networking:237) - Fetching HTTP headers for 'http://rainierland.com/wp-content/uploads/2015/06/GoTs5e9.jpg' 2015-06-07 17:19:52,517 (d99e0) : DEBUG (runtime:106) - Sending packed state data (112 bytes) 2015-06-07 17:19:52,519 (d99e0) : DEBUG (runtime:918) - Response: [302] Redirect, 0 bytes
Is there something I can do to make this work or if possible would the Plex Developers add a field for headers in their Resource.ContentsOfURLWithFallback function.
Thanks.
Cheers,
CA