faces icon indicating copy to clipboard operation
faces copied to clipboard

Provide response headers in Event Data Payload

Open eclipse-faces-bot opened this issue 13 years ago • 6 comments

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.

Affected Versions

[2.1]

eclipse-faces-bot avatar Apr 15 '11 07:04 eclipse-faces-bot

  • Issue Imported From: https://github.com/javaee/javaserverfaces-spec/issues/975
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: Unassigned

eclipse-faces-bot avatar Aug 06 '19 08:08 eclipse-faces-bot

@glassfishrobot Commented Reported by phelanward

eclipse-faces-bot avatar Apr 15 '11 07:04 eclipse-faces-bot

@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

eclipse-faces-bot avatar Aug 01 '14 14:08 eclipse-faces-bot

@glassfishrobot Commented @manfredriem said: Setting priority to Minor

eclipse-faces-bot avatar Aug 01 '14 17:08 eclipse-faces-bot

@glassfishrobot Commented Parent-Task: JAVASERVERFACES_SPEC_PUBLIC-758

eclipse-faces-bot avatar Apr 15 '11 07:04 eclipse-faces-bot

@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-975

eclipse-faces-bot avatar May 05 '17 05:05 eclipse-faces-bot