function testPutWithXmlEncoding()
{
$browser = new SimpleBrowser();
$this->assertTrue($browser->put($this->samples() . 'request_methods.php', '<a><b>c</b></a>', 'application/xml'));
$this->assertEqual($browser->getResponseCode(), 201);
$this->assertPattern('/c/', $browser->getContent());
}