private function getBody()
    {
        if ($this->body) {
            return $this->body;
        } elseif ($this->files || $this->forceMultipart) {
            return $this->body = $this->createMultipart();
        } elseif ($this->fields) {
            return $this->body = $this->createUrlEncoded();
        } else {
            return $this->body = Stream::factory();
        }
    }
private function getBody()
    {
        if ($this->body) {
            return $this->body;
        } elseif ($this->files || $this->forceMultipart) {
            return $this->body = $this->createMultipart();
        } elseif ($this->fields) {
            return $this->body = $this->createUrlEncoded();
        } else {
            return $this->body = Stream::factory();
        }
    }
private function getBody ( ) { if ( $ this -> body ) { return $ this -> body ; } elseif ( $ this -> files || $ this -> forceMultipart ) { return $ this -> body = $ this -> createMultipart ( ) ; } elseif ( $ this -> fields ) { return $ this -> body = $ this -> createUrlEncoded ( ) ; } else { return $ this -> body = Stream :: factory ( ) ; } }
Return a stream object that is built from the POST fields and files.

If one has already been created, the previously created stream will be
returned.
Return a stream object that is built from the POST fields and files .