[
https://issues.apache.org/jira/browse/TS-2360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829094#comment-13829094
]
ASF subversion and git services commented on TS-2360:
-----------------------------------------------------
Commit 0c6c25e6cde89cdb66284b43fb8bcdfe4a009687 in branch refs/heads/master
from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=0c6c25e ]
TS-2360: Update TSMimeHdrFieldValueStringGet docs
> Fix usage of TSMimeHdrFieldValueStringGet() in some plugins
> -----------------------------------------------------------
>
> Key: TS-2360
> URL: https://issues.apache.org/jira/browse/TS-2360
> Project: Traffic Server
> Issue Type: Bug
> Components: Documentation, Plugins
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: 4.2.0
>
>
> TSMimeHdrFieldValueStringGet() takes an argument -1 for index, which returns
> the entire header, not just the first portion. This only affects the cases
> where headers have comma separated values, but we should do it consistently.
> This is an old feature / behavior of the API, I'm not sure why it is not
> documented. So lets document it as well ;).
--
This message was sent by Atlassian JIRA
(v6.1#6144)