[
https://issues.apache.org/jira/browse/TS-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312238#comment-15312238
]
ASF GitHub Bot commented on TS-4500:
------------------------------------
GitHub user zizhong opened a pull request:
https://github.com/apache/trafficserver/pull/692
[TS-4500] add cookie-rewrite functionality into header-rewrite plugin
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zizhong/trafficserver headerrewrite
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/692.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #692
----
commit 4e3cf4cb2c2f0fadb3558bb3441eb8ac083990ef
Author: Zizhong Zhang <[email protected]>
Date: 2016-06-02T12:33:13Z
add cookie-rewrite functionality into header-rewrite plugin
----
> 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
> Assignee: 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)