updated mtom message validity checks

This commit is contained in:
Christian Kerl 2010-12-30 02:13:56 +01:00
parent 370147653c
commit 4cc5950a66
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ class SoapRequest extends Request
protected function initializeMtomSoapMessage(array $contentTypeHeader, $content)
{
if(!isset($contentTypeHeader['start']) || !isset($contentTypeHeader['boundary']))
if(!isset($contentTypeHeader['start']) || !isset($contentTypeHeader['start-info']) || !isset($contentTypeHeader['boundary']))
{
throw new \InvalidArgumentException();
}