https://bugzilla.novell.com/show_bug.cgi?id=429200

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=429200#c1


Alan McGovern <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |[EMAIL 
PROTECTED]




--- Comment #1 from Alan McGovern <[EMAIL PROTECTED]>  2008-10-08 03:40:14 MDT 
---
This is either a bug in the documentation or a bug in the MS implementation.
The documentation states that multiple calls to GetRequestStream should thrown
an invalid operation exception.

http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.getrequeststream.aspx

What I assume is happening is that MS.NET is instead returning the same stream
instance when you make multiple calls to GetRequestStream.

You can verify that this is true. You can do this by calling:
Console.WriteLine("Streams are same: {0}",
        request.GetRequestStream() == request.GetRequestStream());


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to