Get the Content-Length HTTP header
integer Returns the length of the response body in bytes
public function getContentLength() { return (int) $this ->getHeader('Content-Length', true); }