[Mono-bugs] [Bug 50530][Min] Changed - Authenticated POST requests do not work with HTTP/1.0 servers

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Jan 2004 20:18:47 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by helge.hess@opengroupware.org.


--- shadow/50530	2004-01-29 17:54:54.000000000 -0500
+++ shadow/50530.tmp.16687	2004-01-29 20:18:47.000000000 -0500
@@ -107,6 +107,35 @@
 verify the issue.
 Also I do not really understand the statement: "And don't ever try a second Expect: 
 100-continue if the first one timeouts". Where does this help? All non-100-continue 
 capable servers will return a full HTTP response line - there is no need for a timeout.
 Anyway, I will need to check that out ;-)
+------- Additional Comments From helge.hess@opengroupware.org  2004-01-29 20:18 -------
+OK, just tried with 0.29. Still does not work. One part of the problem
+is, that PreAuthenticate does not work:
+      NetworkCredential credentials =
+        new NetworkCredential("helge","uuuu",null);
+      Uri destination =
+        new Uri("http://localhost/RPC2");
+      HttpWebRequest webRequest =
+        (HttpWebRequest)WebRequest.Create(destination);
+      webRequest.Credentials = credentials;
+      webRequest.PreAuthenticate = true;
+does give me:
+Content-Type: text/xml
+Content-Length: 30
+Expect: 100-continue
+Host: localhost
+<?xml version='1.0'?>
+Where is my authenticate header? I requested one using Preauthenticate?