[Mono-devel-list] Updates for HttpWebRequest and WebClient

Jerome Laban jlaban at wanadoo.fr
Thu Apr 24 17:09:39 EDT 2003


    Here some simple code :

    WebClient client = new WebClient();
    byte[] data = client.DownloadData(

	The call to DownloadData throws an exception in the call of
Socket.Poll in HttpWebRequestStream, and the WebClient needs to set the
ContentLength to zero (It does not send any data, except the headers)

Miguel could you review it ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: webclient-20030424.diff
Type: application/octet-stream
Size: 1626 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030424/02cef5f0/attachment.obj 

More information about the Mono-devel-list mailing list