You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2018/02/02 00:28:05 UTC

[trafficserver] branch master updated: Fixed crash in microserver help message

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new c69e8e2  Fixed crash in microserver help message
c69e8e2 is described below

commit c69e8e2b62f69980bd06aca7fe336a2ff41f5c21
Author: Jesse Zhang <ma...@gmail.com>
AuthorDate: Thu Feb 1 13:53:44 2018 -0600

    Fixed crash in microserver help message
---
 tests/tools/microServer/uWServer.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/tools/microServer/uWServer.py b/tests/tools/microServer/uWServer.py
index cceb226..78c8e81 100644
--- a/tests/tools/microServer/uWServer.py
+++ b/tests/tools/microServer/uWServer.py
@@ -683,11 +683,11 @@ def main():
                         type=str,
                         default="{PATH}",
                         help="format string used as a key for response lookup: \
-                        example: \"{%Host}{%Server}{PATH}\", \"{HOST}{PATH}\", \"{PATH}\"\
-                        All the args preceded by % are header fields in the request\
+                        example: \"{%%Host}{%%Server}{PATH}\", \"{HOST}{PATH}\", \"{PATH}\"\
+                        All the args preceded by %% are header fields in the request\
                         The only two acceptable arguments which are not header fields are : fqdn (represented by HOST) and the url path (represented by PATH) in a request line.\
                         Example: given a client request as  << GET /some/resource/location HTTP/1.1\nHost: hahaha.com\n\n >>, if the user wishes the host field and the path to be used for the response lookup\
-                        then the required format will be {%Host}{PATH}")
+                        then the required format will be {%%Host}{PATH}")
 
     args = parser.parse_args()
     options = args

-- 
To stop receiving notification emails like this one, please contact
bcall@apache.org.