Example #1
0
 /**
  * Make sure a response with some leading whitespace in the response body
  * does not get modified (see ZF-1924)
  *
  */
 public function testLeadingWhitespaceBody()
 {
     $body = Response\Response::extractBody($this->readResponse('response_leadingws'));
     $this->assertEquals($body, "\r\n\t  \n\r\tx", 'Extracted body is not identical to expected body');
 }