[Mono-bugs] [Bug 405238] HttpWebResponse. StatusCode is not accessible after response was disposed (unlike MS .NET)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 1 12:47:07 EDT 2008


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

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=405238#c3


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be




--- Comment #3 from Gert Driesen <gert.driesen at pandora.be>  2008-07-01 10:47:06 MDT ---
This is actually a bug in the MS implementation, as the docs clearly state the
an ObjectDisposedException should be thrown:

http://msdn.microsoft.com/en-us/library/system.net.httpwebresponse.statuscode(VS.90).aspx

I will submit a bug report against MS for this, but I think our implementation
should match that of MS as people actually depend on this bug.

I expect MS will just update the docs instead of fixing the implementation to
match the docs.

I'll submit a patch which adds tests for this, so we can easily track changes
in the MS implementation (and avoid regressions on our end).


-- 
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.


More information about the mono-bugs mailing list