diff options
Diffstat (limited to 'tests/data/test1286')
-rw-r--r-- | tests/data/test1286 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/data/test1286 b/tests/data/test1286 index c64a79b47..df0f35fc5 100644 --- a/tests/data/test1286 +++ b/tests/data/test1286 @@ -22,7 +22,7 @@ Content-Length: 0 HTTP/1.1 302 Thanks for this, but we want to redir you!
Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1
-Location: /12860001
+Location: /%TESTNUMBER0001
Content-Length: 0
</data1000> @@ -44,7 +44,7 @@ Content-Length: 0 HTTP/1.1 302 Thanks for this, but we want to redir you!
Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1
-Location: /12860001
+Location: /%TESTNUMBER0001
Content-Length: 0
HTTP/1.1 404 Not Found
@@ -71,7 +71,7 @@ HTTP GET --digest increasing nonce-count # This test is to ensure the nonce-count (nc) increases # https://github.com/curl/curl/pull/1251 <command> --u auser:apasswd --location --digest http://%HOSTIP:%HTTPPORT/1286 +-u auser:apasswd --location --digest http://%HOSTIP:%HTTPPORT/%TESTNUMBER </command> </client> @@ -89,20 +89,20 @@ HTTP GET --digest increasing nonce-count if(s/^(Authorization: Digest )([^\r\n]+)(\r?\n)$//) { $_ = $1 . join(', ', map { s/^(cnonce=)"[a-zA-Z0-9+\/=]+"$/$1REMOVED/; s/^(response=)"[a-f0-9]{32}"$/$1REMOVED/; s/^qop="auth"$/qop=auth/; $_ } sort split(/, */, $2)) . $3; } </strippart> <protocol> -GET /1286 HTTP/1.1
+GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
-GET /1286 HTTP/1.1
+GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest cnonce=REMOVED, nc=00000001, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/1286", username="auser"
+Authorization: Digest cnonce=REMOVED, nc=00000001, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/%TESTNUMBER", username="auser"
User-Agent: curl/%VERSION
Accept: */*
-GET /12860001 HTTP/1.1
+GET /%TESTNUMBER0001 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest cnonce=REMOVED, nc=00000002, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/12860001", username="auser"
+Authorization: Digest cnonce=REMOVED, nc=00000002, nonce="1053604144", qop=auth, realm="testrealm", response=REMOVED, uri="/%TESTNUMBER0001", username="auser"
User-Agent: curl/%VERSION
Accept: */*
|