You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Zhang Zizhong (JIRA)" <ji...@apache.org> on 2016/06/02 12:39:59 UTC

[jira] [Created] (TS-4500) add cookie-rewrite functionality into header-rewrite plugin

Zhang Zizhong created TS-4500:
---------------------------------

             Summary: add cookie-rewrite functionality into header-rewrite plugin
                 Key: TS-4500
                 URL: https://issues.apache.org/jira/browse/TS-4500
             Project: Traffic Server
          Issue Type: New Feature
          Components: Plugins
            Reporter: Zhang Zizhong


add cookie-rewrite functionality into header-rewrite plugin.

There're three cookie handling operators added, including **add-cookie**, **rm-cookie** and **update-cookie**.
**add-cookie** adds a key-value pair into Cookie. If the given key is already in Cookie, do nothing.
**rm-cookie** remove a pair with the given key from Cookie.
**update-cookie** sets the value with the given key to the given value. If the given key doesn't exist, add a new pair into Cookie. So the only difference between **add-cookie** and **update-cookie** is overwriting an existing pair or not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)