* TypeStubManager.cs: Removed redundat hastable access.
* SoapHttpClientProtocol.cs: Accept responses with ContentLength==0.
This fixes bug #70310.
svn path=/trunk/mcs/; revision=37476
+2004-12-09 Lluis Sanchez Gual <lluis@novell.com>
+
+ * TypeStubManager.cs: Removed redundat hastable access.
+ * SoapHttpClientProtocol.cs: Accept responses with ContentLength==0.
+ This fixes bug #70310.
+
2004-12-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SoapHttpClientProtocol.cs: dispose the StreamReader that wraps the
msg = String.Format (msg, (int) code, code);\r
throw new WebException (msg, null, WebExceptionStatus.ProtocolError, http_response);\r
}\r
+ if (response.ContentLength == 0 && (code == HttpStatusCode.Accepted || code == HttpStatusCode.OK)) {\r
+ return new object[0];\r
+ }\r
}\r
\r
//\r
if (tm != null)
return tm;
- tm = (LogicalTypeInfo) type_to_manager [t];
-
- if (tm != null)
- return tm;
-
tm = new LogicalTypeInfo (t);
type_to_manager [t] = tm;