public function send(Request $request)
    {
        $headers = array('Content-Type' => $request->getContentType());
        $content = $request->formatData();

        if ($this->hasSiteKey()) {
            $headers = array_merge($headers, array('x-atom-log-id' => $this->getSiteKey()));
        }

        try {
            $response = $this->getBrowser()->post($this->getAtomUri(), $headers, $content);
        } catch(\Exception $e) {
            throw new \RuntimeException($e->getMessage());
        }

        return $response;
    }