code: public function withBody(StreamInterface $body)
      {
          if (!$body instanceof ImageStream) {
              throw new \RuntimeException;
          }
  
          $response = clone $this;
  
          $response->image = null;
          $response->stream = $body;
          $response->headers = $this->removeXsendfileHeaders($this->headers);
  
          return $response;
      }
docs: {@inheritdoc}