You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/23 23:18:44 UTC

[jira] [Commented] (TS-2226) header_rewrite ought to have a set-header operator

    [ https://issues.apache.org/jira/browse/TS-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13803345#comment-13803345 ] 

ASF subversion and git services commented on TS-2226:
-----------------------------------------------------

Commit 4bf36c8fdfcb36a037289909c073a451b78aeeea in branch refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=4bf36c8 ]

TS-2226 Add support for a set-header operator.

This is an optimization over the old pattern of doing

     rm-header Foo
     add-header Foo "bar"

This also reorganizes the code a bit, to avoid so much
duplication.


> header_rewrite ought to have a set-header operator
> --------------------------------------------------
>
>                 Key: TS-2226
>                 URL: https://issues.apache.org/jira/browse/TS-2226
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Plugins
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 4.1.0
>
>
> Right now, the expectation is that if you really want to set a header, you have to do
>     rm-header Foo-Header
>     add-header Foo-Header "bar"
> Lame. The examples even has a set-header line, but there's no code for it.



--
This message was sent by Atlassian JIRA
(v6.1#6144)