fix parser and add attachment support

This commit is contained in:
Andreas Schamberger
2012-01-03 16:38:50 +01:00
parent e151d06371
commit f6ea609f46
4 changed files with 80 additions and 5 deletions

View File

@ -52,7 +52,7 @@ class ParserTest extends \PHPUnit_Framework_TestCase
$p2 = $mp->getPart('0x9d6ad00-0xa19ef48-0x9de7500-0xa4fae78-0xa382698');
$this->assertEquals('binary', $p2->getHeader('Content-Transfer-Encoding'));
$this->assertEquals('application/binary', $p2->getHeader('Content-Type'));
$this->assertEquals(81, strlen($p2->getContent()));
$this->assertEquals(79, strlen($p2->getContent()));
}
public function testParserResponseAxis()