[ 
https://issues.apache.org/jira/browse/TS-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3369:
------------------------------
    Summary: Bug in header setting functions in lua plugin  (was: bug in header 
setting functions in lua plugin)

> 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
>            Assignee: Kit Chan
>             Fix For: 5.3.0
>
>
> 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)

Reply via email to