code: public function setHeaders($headers)
      {
          if (!is_array($headers)) {
              $headers = array();
          }
          $this->lastSetHeaders = $headers;
          $this->headers = $this->parseHeaders();
          return $this;
  
      }
docs: 重置头
  @param $headers
  @return $this