芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/storage/vendor/guzzlehttp/guzzle/src/Subscriber/HttpError.php
['onComplete', RequestEvents::VERIFY_RESPONSE]]; } /** * Throw a RequestException on an HTTP protocol error * * @param CompleteEvent $event Emitted event * @throws RequestException */ public function onComplete(CompleteEvent $event) { $code = (string) $event->getResponse()->getStatusCode(); // Throw an exception for an unsuccessful response if ($code[0] >= 4) { throw RequestException::create( $event->getRequest(), $event->getResponse() ); } } }