mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-23 21:22:17 +00:00
REGTEST/MINOR: remove double body specification for server txresp
fix http-rules/h00000.vtc / http-rules/h00000.vtc as both 'bodylen' and 'body' are specified, these settings conflict with each other as they both generate/present the body to send.
This commit is contained in:
parent
eb2bbba547
commit
425f17a6af
@ -25,7 +25,6 @@ server s1 {
|
|||||||
-hdr "hdr2: val2b" \
|
-hdr "hdr2: val2b" \
|
||||||
-hdr "hdr3: val3a, val3b" \
|
-hdr "hdr3: val3a, val3b" \
|
||||||
-hdr "hdr4:" \
|
-hdr "hdr4:" \
|
||||||
-bodylen 14 \
|
|
||||||
-body "This is a body"
|
-body "This is a body"
|
||||||
|
|
||||||
expect req.method == "GET"
|
expect req.method == "GET"
|
||||||
|
@ -24,7 +24,6 @@ server s1 {
|
|||||||
-hdr "hdr2: val2b" \
|
-hdr "hdr2: val2b" \
|
||||||
-hdr "hdr3: val3a, val3b" \
|
-hdr "hdr3: val3a, val3b" \
|
||||||
-hdr "hdr4:" \
|
-hdr "hdr4:" \
|
||||||
-bodylen 14 \
|
|
||||||
-body "This is a body"
|
-body "This is a body"
|
||||||
|
|
||||||
expect req.method == "GET"
|
expect req.method == "GET"
|
||||||
|
Loading…
Reference in New Issue
Block a user