Kit Chan created TS-3369:
----------------------------
Summary: bug in header setting functions in lua plugin
Key: TS-3369
URL: https://issues.apache.org/jira/browse/TS-3369
Project: Traffic Server
Issue Type: Bug
Components: Lua, Plugins
Reporter: Kit Chan
Here is my sample lua script
function send_response()
ts.client_response.header['Vary'] = "x, y, z"
ts.client_response.header['Vary'] = "xyz"
end
function do_remap()
ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, send_response)
return 0
end
The result is "xyz, y, z" instead of what I expected - "xyz"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)