Class Md5ValidatorPlugin
Ensures that an the MD5 hash of an entity body matches the Content-MD5 header (if set) of an HTTP response. An exception is thrown if the calculated MD5 does not match the expected MD5.
- Guzzle\Plugin\Md5\Md5ValidatorPlugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
public
|
|
public static
|
|
public
|
protected
integer
|
$contentLengthCutoff
Maximum Content-Length in bytes to validate |
|
protected
boolean
|
$contentEncoded
Whether or not to compare when a Content-Encoding is present |