Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 248 Bytes
<?php
/**
* The usage is the same as HTTP_Request2 except that it will implement
* caching for the METHOD_GET routines.
*/
$request = new HTTP_FileCachedRequest('http://mysite.com/rest/resource/1234');
$result = $request->send()->getBody();
?>