[Mono-bugs] [Bug 636219] WebRequest fails because it sends a Content-Length header for a GET after a redirect

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 1 18:03:52 EDT 2010



Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|WebRequest fails to submit  |WebRequest fails because it
                   |form, timeout occurs.       |sends a Content-Length
                   |Likely due to mishandling   |header for a GET after a
                   |302 header.                 |redirect
           Severity|Normal                      |Major

--- Comment #5 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2010-09-01 22:03:51 UTC ---
Fixed in master 8823d1c0 and mono-2-6 f0f2b053.
I don't know if it will be in the upcoming 2.8.0, but it will be in the next
2.6.x/2.8.x releases too.


Btw, the actual problem was that we were sending the Content-Length header from
the initial POST in the redirected GET. The server, instead of ignoring the
header (it's a GET after all) waited for the data to be uploaded.

Configure bugmail: https://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