Author: zwoop
Date: Thu Jan 27 05:09:16 2011
New Revision: 1063997
URL: http://svn.apache.org/viewvc?rev=1063997&view=rev
Log:
Meh, forgot the example
Modified:
trafficserver/plugins/header_filter/README
Modified: trafficserver/plugins/header_filter/README
URL:
http://svn.apache.org/viewvc/trafficserver/plugins/header_filter/README?rev=1063997&r1=1063996&r2=1063997&view=diff
==============================================================================
--- trafficserver/plugins/header_filter/README (original)
+++ trafficserver/plugins/header_filter/README Thu Jan 27 05:09:16 2011
@@ -51,6 +51,20 @@ The final "i" qualifier (works on all pa
comparison to be made case insensitive (just like in Perl).
+It's also possible to replace or add headers, using the = and +
+operators. For example
+
+[SEND_REQUEST_HDR]
+ Host =www.example.com=
+ X-Foo +ATS+
+
+
+This will force the Host: header to have exactly one value,
+www.example.com, while X-Foo will have at least one header with the value
+ATS, but there could be more instances of the header from the existing
+header in the request.
+
+
Possible hooks are
READ_REQUEST_HDR