Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1378

CacheableRequestPolicy and ResponseCachingPolicy Have Overlapping Functionality

    XMLWordPrintableJSON

Details

    Description

      As discussed in HTTPCLIENT-1370, both classes check the same thing in the request object for cache-ability, but handle edge cases differently. The repeated code should be removed and either CacheableRequestPolicy injected as a dependency into the ResponseCachingPolicy or the two classes should be merged into a single class.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jamesrdf James Leigh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: