[Mono-bugs] [Bug 421827] New: HttpWebRequest drops cookies

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 1 00:37:17 EDT 2008


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


           Summary: HttpWebRequest drops cookies
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Dax at daxxfiles.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
When downloading websites or files with HttpWebRequests, all cookies sent by
the site are simply dropped, leading to errors on many sites.


Steps to reproduce the problem:
Compile and run:
var hwr =
(HttpWebRequest)WebRequest.Create("http://tech.groups.yahoo.com/group/autoguiding/message/1");
hwr.CookieContainer = new CookieContainer();
var text = new StreamReader(hwr.GetResponse().GetResponseStream()).ReadToEnd();
Console.WriteLine(text.Contains("Your browser is not accepting our cookies."));


Actual Results:
"True"


Expected Results:
"False"


How often does this happen? 
Every time.


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