aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-04-10 12:26:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-04-10 12:26:08 +0000
commit4edb93508d2b0d302cfea729b4636fe371050b25 (patch)
tree87622a5295738233c925f0fc44f410e74e51803f
parent38c994b83b857ece2c9a483f3d6871c4a1521331 (diff)
Use correct content-length. Found out by patching the libcurl read to only
read one byte at a time...
-rw-r--r--tests/data/test1694
-rw-r--r--tests/data/test2394
-rw-r--r--tests/data/test2434
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/data/test169 b/tests/data/test169
index 43f9bdb20..0bfd31284 100644
--- a/tests/data/test169
+++ b/tests/data/test169
@@ -33,7 +33,7 @@ This is not the real page either!
HTTP/1.1 401 You now need to authenticate with the host
Server: Microsoft-IIS/5.0
WWW-Authenticate: Digest realm="r e a l m", nonce="abcdef"
-Content-Length: 40
+Content-Length: 46
Content-Type: text/html; charset=iso-8859-1
We have not authenticated with the server yet
@@ -49,7 +49,7 @@ Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4
HTTP/1.1 401 You now need to authenticate with the host
Server: Microsoft-IIS/5.0
WWW-Authenticate: Digest realm="r e a l m", nonce="abcdef"
-Content-Length: 40
+Content-Length: 46
Content-Type: text/html; charset=iso-8859-1
HTTP/1.1 200 Authorizated fine
diff --git a/tests/data/test239 b/tests/data/test239
index 9b2ef9eff..b85b34b42 100644
--- a/tests/data/test239
+++ b/tests/data/test239
@@ -5,7 +5,7 @@
<data1001>
HTTP/1.1 407 Authorization Required to proxy me my dear
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
-Content-Length: 33
+Content-Length: 34
Hey you, authenticate or go away!
</data1001>
@@ -24,7 +24,7 @@ Contents of that page you requested, sir.
<datacheck>
HTTP/1.1 407 Authorization Required to proxy me my dear
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
-Content-Length: 33
+Content-Length: 34
HTTP/1.1 200 Things are fine in proxy land swsclose
Server: Microsoft-IIS/5.0
diff --git a/tests/data/test243 b/tests/data/test243
index ab209d0ad..1be5812ae 100644
--- a/tests/data/test243
+++ b/tests/data/test243
@@ -25,7 +25,7 @@ This is not the real page
<data1001>
HTTP/1.1 407 Authorization Required to proxy me my dear
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
-Content-Length: 33
+Content-Length: 34
Hey you, authenticate or go away!
</data1001>
@@ -52,7 +52,7 @@ Connection: close
HTTP/1.1 407 Authorization Required to proxy me my dear
Proxy-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
-Content-Length: 33
+Content-Length: 34
HTTP/1.1 200 Things are fine in proxy land swsclose
Server: Microsoft-IIS/5.0