You are here

public function FeedsHTTPFetcherAppendHeaders::clear in Feeds HTTPFetcher Append Headers 7

Clear caches.

File

plugins/FeedsHTTPFetcherAppendHeaders.inc, line 68
Home of the FeedsHTTPFetcherAppendHeaders and related classes.

Class

FeedsHTTPFetcherAppendHeaders
Fetches data via HTTP and appending custom headers.

Code

public function clear(FeedsSource $source) {
  $source_config = $source
    ->getConfigFor($this);
  $url = $source_config['source'];
  feeds_include_library('http_request.inc', 'http_request');
  http_request_clear_cache($url);
}