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

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=500074#c7


Robert Jordan <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #7 from Robert Jordan <[email protected]>  2009-07-12 16:25:59 MDT ---
Can your reproduce the issue with this code? Compile it with gmcs.

using System;
using System.Net;

class Test : MarshalByRefObject
{
    static void Main ()
    {
        AppDomain d = AppDomain.CreateDomain ("FooBar");

        Type type = typeof (Test);
        Test test =
            (Test) d.CreateInstanceAndUnwrap (type.Assembly.FullName,
type.FullName);
        test.RunTest ();
    }

    public void RunTest ()
    {
        HttpWebRequest req =
            (HttpWebRequest) WebRequest.Create ("http://www.google.com";);

        using (HttpWebResponse resp = (HttpWebResponse) req.GetResponse()) {
            foreach (string n in resp.Headers.AllKeys)
                Console.WriteLine ("{0,-20}{1}", n, resp.Headers[n]);
        }
    }
}

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