|
|
@@ -244,6 +244,9 @@ namespace System.Web.Services.Protocols
|
|
|
msg = String.Format (msg, (int) code, code);
|
|
|
throw new WebException (msg, null, WebExceptionStatus.ProtocolError, http_response);
|
|
|
}
|
|
|
+ if (response.ContentLength == 0 && (code == HttpStatusCode.Accepted || code == HttpStatusCode.OK)) {
|
|
|
+ return new object[0];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//
|