/**
  * Import response metadata (SOAP headers) from another response.
  *
  * @param      AgaviResponse The other response to import information from.
  *
  * @author     David Zülke <*****@*****.**>
  * @since      0.11.0
  */
 public function merge(AgaviResponse $otherResponse)
 {
     if ($otherResponse instanceof AgaviSoapResponse) {
         foreach ($otherResponse->getSoapHeaders() as $soapHeader) {
             if (!$this->hasSoapHeader($soapHeader->namespace, $soapHeader->name)) {
                 $this->addSoapHeader($soapHeader);
             }
         }
     }
 }