src/Response.php
public function publish()
    {
        $result = (string) $this->result;
        $this->addHeader('Content-Type: text/xml')
             ->addHeader('Content-Length: ' . strlen($result))
             ->finalize($result);
    }
public function publish()
    {
        $result = (string) $this->result;
        $this->addHeader('Content-Type: text/xml')
             ->addHeader('Content-Length: ' . strlen($result))
             ->finalize($result);
    }
/ \copydoc fpoirotte::XRL::ResponseInterface::publish()