示例#1
0
 public function getHeadLine()
 {
     $rp = $this->_reasonPhrase;
     if (!$rp) {
         $rp = StatusCode::getReasonPhrase($this->_statusCode);
     }
     return implode(' ', [$this->getProtocol() . '/' . $this->getProtocolVersion(), $this->_statusCode, $rp]);
 }