original_string: public function getBody()
      {
          $body = '';
          if ($this->_method === 'POST' || $this->_method === 'PUT') {
              if ($this->_body === null) {
                  $this->_body = $this->getPostBody();
              }
              $this->setHeader('content-length', strlen($this->_body));
              $body = $this->_body . Client::CRLF;
          }
          return $body;
      }
code: public function getBody()
      {
          $body = '';
          if ($this->_method === 'POST' || $this->_method === 'PUT') {
              if ($this->_body === null) {
                  $this->_body = $this->getPostBody();
              }
              $this->setHeader('content-length', strlen($this->_body));
              $body = $this->_body . Client::CRLF;
          }
          return $body;
      }
code_tokens: public function getBody ( ) { $ body = '' ; if ( $ this -> _method === 'POST' || $ this -> _method === 'PUT' ) { if ( $ this -> _body === null ) { $ this -> _body = $ this -> getPostBody ( ) ; } $ this -> setHeader ( 'content-length' , strlen ( $ this -> _body ) ) ; $ body = $ this -> _body . Client :: CRLF ; } return $ body ; }
docstring: Get http request body
  Appending post fields and files.
  @return string request body
docstring_tokens: Get http request body Appending post fields and files .