Description
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"