[Mono-bugs] [Bug 465613] HttpWebRequest.BeginGetRequestStream throws ProtocolViolationException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 5 18:51:10 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=465613

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |gert.driesen at pandora.be
         Resolution|FIXED                       |




--- Comment #3 from Gert Driesen <gert.driesen at pandora.be>  2009-06-05 16:51:09 MDT ---
MS only throws a ProtocolViolationException when:
(taken from MSDN)

===

The Method property is GET or HEAD.

-or- 

KeepAlive is true, AllowWriteStreamBuffering is false, ContentLength is -1,
SendChunked is false, and Method is POST or PUT. 

===

I verified that - for the second case - no ProtocolViolationException is thrown
if KeepAlive is false.

I'll add a unit test named "BeginGetRequestStream_NoBuffering" for this later
today, and mark it NotWorking.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list