Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: Ajax/JavaScript
    • Labels:
      None
    • Status Whiteboard:
      Hide

      size_small importance_medium

      Show
      size_small importance_medium

      Description

      I need to access the response headers in a callback function as defined in section 14.4.1. I propose to extend TABLE 14-4 Event Data Payload like this:

      responseHeaders | The response headers (XMLHttpRequest.getAllResponseHeaders()); Not present for "begin" event;

      Alternatively, it might make sense to add the XMLHttpRequest (or equivalent) object itself available in the payload. This would allow for greater flexibility.

      Reason:
      In the system environment of one of our applications a non-standard HTTP proxy is setting response headers we have to evaluate and handle in Ajax requests. The callback mechansim is perfect for this and we made a POC with Mojarra 2.1.1-b03 that our needs are satisfied by just extending the event data payload as described.

        Activity

        Hide
        Manfred Riem added a comment -

        Setting priority to Minor

        Show
        Manfred Riem added a comment - Setting priority to Minor
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            Adrian Gygax
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: