mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
test650: Use variable replacement to set the host address and port
Otherwise, the test fails when the -b test option is used to set a different test port range.
This commit is contained in:
parent
df7839b68c
commit
cecffff561
@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
|
|||||||
# (5*12) == 60 bytes less
|
# (5*12) == 60 bytes less
|
||||||
<protocol>
|
<protocol>
|
||||||
POST /650 HTTP/1.1
|
POST /650 HTTP/1.1
|
||||||
Host: 127.0.0.1:8990
|
Host: %HOSTIP:%HTTPPORT
|
||||||
Accept: */*
|
Accept: */*
|
||||||
Transfer-Encoding: chunked
|
Transfer-Encoding: chunked
|
||||||
Content-Type: multipart/form-data; boundary=----------------------------
|
Content-Type: multipart/form-data; boundary=----------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user