I have a custom onPreResponse extension adding an E-Tag header field to all my GET requests. I added this one via server.ext('onPreResponse, ...) but in combination with halacious this one is never executed. IMHO the response.send() (line 834 of plugin.js) is causing this issue.
Is there a possibility to solve the issue in a smart way?
Do not wanna shift my extension to server.realm._extensions.onPreResponse manually.
I have a custom
onPreResponse
extension adding anE-Tag
header field to all myGET
requests. I added this one viaserver.ext('onPreResponse, ...)
but in combination with halacious this one is never executed. IMHO theresponse.send()
(line 834 of plugin.js) is causing this issue.Is there a possibility to solve the issue in a smart way? Do not wanna shift my extension to
server.realm._extensions.onPreResponse
manually.