コード例 #1
0
 public function testExceptInvalidChunkedBody()
 {
     try {
         Zend_Http_Response::decodeChunkedBody($this->readResponse('response_deflate'));
         $this->fail('An expected exception was not thrown');
     } catch (Zend_Http_Exception $e) {
         // We are ok!
     }
 }