Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8267510

HttpClient: Provide access to the whole set of headers that were sent over the wire

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      HttpResponse<?>.request().headers() (or some new API point) should provide access to the whole set of headers that were sent over the wire to help for the implementation of caching policies.

      See: https://mail.openjdk.java.net/pipermail/net-dev/2021-May/015922.html

      Note that the full set of headers is protocol dependent and usually not known until the request is actually sent.

        Attachments

          Activity

            People

            Assignee:
            dfuchs Daniel Fuchs
            Reporter:
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: