Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-899

Ability to access additional response headers when using requestJira

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      When you use the fetch() API in the browser, you only get a subset of the response headers because of browser security restrictions known as CORS-safelisted response headers.

      By default, only a small set of headers (like Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, and Pragma) are accessible via response.headers.

      It would be good to add the names of additional headers to the Access-Control-Expose-Headers header of the preflight request in order for the JavaScript code to access those.

      For example the ff:

      Retry-After
      X-Ratelimit-Limit
      X-Ratelimit-Remaining
      X-Ratelimit-Reset

            [ECO-899] Ability to access additional response headers when using requestJira

            No work has yet been logged on this issue.

              Unassigned Unassigned
              26a024868f5f Sherica Ocbania
              Votes:
              27 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: