* CookieContainerTest.cs: the GetCookies test works now.
2007-04-23 Marek Habersack <[email protected]>
* CookieContainer.cs: Sort the collection by the path relevance before returning from
the GetCookies method. Fixes bug #81421.
svn path=/trunk/mcs/; revision=76101
* Cookie.cs: do not return "/" for Path if it wasn't set
explicitly.
* CookieContainer.cs: set cookie path only if its version is
"Netscape" and is null or empty. Fixes#81420.
svn path=/trunk/mcs/; revision=76095
* CookieContainer.cs: send the cookies from the collection we got for
the given URI, not the whole collection.
* HttpWebResponse.cs: only add the cookies to this instance, not to the
cookie container set in the request.
svn path=/trunk/mcs/; revision=65493
* CookieContainer.cs: adding to a CookieCollection might not increment
the number of items if the cookie is replaced. Now Count works properly.
Fixed an array index exception (typo).
* CookieCollection.cs: also compare the version.
* HttpWebResponse.cs: when we have cookies, add them to the request
container.
* HttpWebRequest.cs: changed last parameter of HttpWebResponse ctor.
svn path=/trunk/mcs/; revision=42411
* Test/System.Net/CookieContainerTest.cs: added tests for
CookieContainer.
* System.Net/CookieContainer.cs: style, fixed checks for properties,
implemented the MonoTODOs for the method that take an Uri. GetCookies
and GetCookieHeaders now really return only the cookies that are
requested filtering by the Uri parameter.
* System.Net/Cookie.cs: style, added default values for Comment, Domain
and Port.
* System_test.dll.sources: added CookieContainerTest.cs.
svn path=/trunk/mcs/; revision=36918