public function addBody($body) { $this->body .= $body; $this->contentLength += strlen($body); return $this; }