code: public function withHeaders(array $headers): Request
      {
          $cloned = clone $this;
  
          foreach ($headers as $name => $value) {
              $cloned = $cloned->withHeader($name, $value);
          }
  
          return $cloned;
      }
docs: Add multiple headers
  
  @param array $headers
  
  @return Request