original_string: private function setEtag(Request $request, Response $cachedResponse)
      {
          if ($etag = $cachedResponse->getHeader('ETag')) {
              $request->addHeader('If-None-Match', $etag);
          }
      }
code: private function setEtag(Request $request, Response $cachedResponse)
      {
          if ($etag = $cachedResponse->getHeader('ETag')) {
              $request->addHeader('If-None-Match', $etag);
          }
      }
code_tokens: private function setEtag ( Request $ request , Response $ cachedResponse ) { if ( $ etag = $ cachedResponse -> getHeader ( 'ETag' ) ) { $ request -> addHeader ( 'If-None-Match' , $ etag ) ; } }
docstring: Sets ETag if available in the cached response
  
  @param Request  $request
  @param Response $cachedResponse
docstring_tokens: Sets ETag if available in the cached response