mirror of
https://0xacab.org/radar/radar-wp.git
synced 2025-04-19 14:27:30 +02:00
Initial import.
This commit is contained in:
commit
86383280c9
428 changed files with 68738 additions and 0 deletions
19
vendor/guzzle/plugin-cache/Guzzle/Plugin/Cache/DenyRevalidation.php
vendored
Normal file
19
vendor/guzzle/plugin-cache/Guzzle/Plugin/Cache/DenyRevalidation.php
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace Guzzle\Plugin\Cache;
|
||||
|
||||
use Guzzle\Http\Message\RequestInterface;
|
||||
use Guzzle\Http\Message\Response;
|
||||
|
||||
/**
|
||||
* Never performs cache revalidation and just assumes the request is invalid
|
||||
*/
|
||||
class DenyRevalidation extends DefaultRevalidation
|
||||
{
|
||||
public function __construct() {}
|
||||
|
||||
public function revalidate(RequestInterface $request, Response $response)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue