function setCode( $code ) {
        $this->code = $code;
        $this->addHeader($this->getDefaultHeaderFromCode( $code ));
        return $this;
    }
function setCode( $code ) {
        $this->code = $code;
        $this->addHeader($this->getDefaultHeaderFromCode( $code ));
        return $this;
    }
function setCode ( $ code ) { $ this -> code = $ code ; $ this -> addHeader ( $ this -> getDefaultHeaderFromCode ( $ code ) ) ; return $ this ; }
Set HTTP code and put on header

@param $code
@return $this
Set HTTP code and put on header