Browse code

VTC3: HTTP expectations: adjust properties.

Xavier G authored on 19/02/2015 22:04:57
Showing 1 changed files
... ...
@@ -121,7 +121,7 @@
121 121
         <RegExpr    attribute="Decimal"              context="http_expectation_operator" String="[0-9]+(\s+|$)" />
122 122
         <RegExpr    attribute="Keyword"              context="http_expectation_operator" String="&lt;undef>" />
123 123
         <!-- Written from cmd_var_resolve() in bin/varnishtest/vtc_http.c. -->
124
-        <RegExpr    attribute="HTTP Property"        context="http_expectation_operator" String="req.(method|url|proto|bodylen)" />
124
+        <RegExpr    attribute="HTTP Property"        context="http_expectation_operator" String="req.(request|url|proto)" />
125 125
         <RegExpr    attribute="HTTP Property"        context="http_expectation_operator" String="resp.(proto|status|msg|chunklen|bodylen|body)" />
126 126
         <RegExpr    attribute="HTTP X- Header"       context="http_expectation_operator" String="(req|resp)\.http\.X-[-_A-Za-z0-9]*" />
127 127
         <RegExpr    attribute="HTTP Header"          context="http_expectation_operator" String="(req|resp)\.http\.[A-Za-z][-_A-Za-z0-9]*" />
... ...
@@ -150,7 +150,7 @@
150 150
         <RegExpr    attribute="Decimal"              context="common_expectation_end" String="[0-9]+(\s+|$)" />
151 151
         <RegExpr    attribute="Keyword"              context="common_expectation_end" String="&lt;undef>" />
152 152
         <!-- Written from cmd_var_resolve() in bin/varnishtest/vtc_http.c. -->
153
-        <RegExpr    attribute="HTTP Property"        context="common_expectation_end" String="req.(method|url|proto|bodylen)" />
153
+        <RegExpr    attribute="HTTP Property"        context="common_expectation_end" String="req.(request|url|proto)" />
154 154
         <RegExpr    attribute="HTTP Property"        context="common_expectation_end" String="resp.(proto|status|msg|chunklen|bodylen|body)" />
155 155
         <RegExpr    attribute="HTTP X- Header"       context="common_expectation_end" String="(req|resp)\.http\.X-[-_A-Za-z0-9]*" />
156 156
         <RegExpr    attribute="HTTP Header"          context="common_expectation_end" String="(req|resp)\.http\.[A-Za-z][-_A-Za-z0-9]*" />