Exemplo n.º 1
0
 /**
  * Test request/response encoding (alternate encoding)
  */
 public function testRequestResponseEncoding2()
 {
     $this->_server->setEncoding('ISO-8859-1');
     $response = $this->_server->handle();
     $request = $this->_server->getRequest();
     $this->assertEquals('ISO-8859-1', $request->getEncoding());
     $this->assertEquals('ISO-8859-1', $response->getEncoding());
 }