mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:57:17 +03:00
test412/413: Use version macro for User-Agent
Commit 46d45ea3a incorrectly hardcoded the User-Agent in the test
output file which breaks when curlver is updated. Shift to using
the %VERSION macro instead.
Closes: #8856
This commit is contained in:
parent
bf327a9dfe
commit
d17db5713a
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ h1 whohoo 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
|
|||
<protocol>
|
||||
GET /%TESTNUMBER HTTP/1.1
|
||||
Host: whohoo.:12345
|
||||
User-Agent: curl/7.83.1-DEV
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
Alt-Used: %HOSTIP:%HTTPPORT
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ h1 whohoo. 12345 h1 %HOSTIP %HTTPPORT "20290222 22:19:28" 0 0
|
|||
<protocol>
|
||||
GET /%TESTNUMBER HTTP/1.1
|
||||
Host: whohoo:12345
|
||||
User-Agent: curl/7.83.1-DEV
|
||||
User-Agent: curl/%VERSION
|
||||
Accept: */*
|
||||
Alt-Used: %HOSTIP:%HTTPPORT
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue