[Mono-bugs] [Bug 327314] https to http redirection throw an exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 11 12:21:55 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=327314#c6


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

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




--- Comment #6 from Gert Driesen <gert.driesen at pandora.be>  2007-11-11 10:21:53 MST ---
I'm pretty sure this is not related to HTTPS at all. The problem appears to be
caused by the fact that we continue setting the Content-Length and Expect
header for the HTTP redirect request:

Initial request
===============
POST /accounts/ServiceLoginAuth HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 194
Expect: 100-continue
Connection: keep-alive
Host: www.google.com

Redirect Mono
=============
GET
/accounts/CheckCookie?continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dht
ml%26zy%3Dl&service=mail&chtml=LoginDoneHtml HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Connection: keep-alive
Content-Length: 194
Expect: 100-continue
Host: www.google.com

Redirect MS
===========
GET
/accounts/CheckCookie?continue=http%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl&service=mail&chtml=LoginDoneHtml
HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: www.google.com

Using Mono, the HTTP server receives a HTTP GET with Content-Length set (and
with no body of course).

Looking back, I think bug #340916 - which I filed earlier today - is probably a
duplicate of this bug.

Can someone confirm this?


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