Commit Graph
14 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier a01b5f3fa1 2009-02-10 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: separate cookies with "; " instead of just ';'.
	Fixes bug #386727.


svn path=/trunk/mcs/; revision=126530
2009-02-10 23:35:11 +00:00
Gonzalo Paniagua Javier 1c19d120ad 2008-05-28 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: apply slightly modified patch from [email protected]
	that fixes bug #356537.


svn path=/trunk/mcs/; revision=104338
2008-05-28 22:14:48 +00:00
Marek Habersack da4429171a 2007-04-23 Marek Habersack <[email protected]>
* 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
2007-04-23 09:49:08 +00:00
Marek Habersack 6bbdd1a526 2007-04-23 Marek Habersack <[email protected]>
* 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
2007-04-23 07:50:23 +00:00
Gonzalo Paniagua Javier ffaf18b587 2006-09-15 Gonzalo Paniagua Javier <[email protected]>
* 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
2006-09-15 21:37:57 +00:00
Gonzalo Paniagua Javier dafa708ed0 2006-08-03 Gonzalo Paniagua Javier <[email protected]>
* CookieCollection.cs:
	* CookieContainer.cs: remove expired cookies.


svn path=/trunk/mcs/; revision=63290
2006-08-03 13:44:57 +00:00
Gonzalo Paniagua Javier 6cc798f162 2006-07-03 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: don't send a secure cookie over an insecure
	channel.


svn path=/trunk/mcs/; revision=62238
2006-07-04 01:44:07 +00:00
Gonzalo Paniagua Javier 8bf5e08335 2005-12-09 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: fix matching of subdomains. Patch by Cyrille
	Colin.


svn path=/trunk/mcs/; revision=54171
2005-12-09 20:50:25 +00:00
Gonzalo Paniagua Javier b5ce71c485 2005-03-30 Gonzalo Paniagua Javier <[email protected]>
* 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
2005-03-31 02:32:49 +00:00
Gonzalo Paniagua Javier 447c63141e 2004-12-11 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: quote the port number.


svn path=/trunk/mcs/; revision=37630
2004-12-11 07:40:23 +00:00
Gonzalo Paniagua Javier c46bb06223 2004-12-01 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-12-01 23:27:23 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Gonzalo Paniagua Javier cc8432099d Reworked HttpWebRequest and related classes.
svn path=/trunk/mcs/; revision=15149
2003-06-06 06:57:36 +00:00
Lawrence Pit c24932898e 2002-05-06 Lawrence Pit <[email protected]>
* WebRequest.cs: added
	* WebResponse.cs: implemented
	* WebException.cs: implemented
	* WebHeaderCollection.cs: added
	* HttpVersion.cs: implemented
	* HttpContinueDelegate.cs: added
	* IWebProxy.cs: added
	* IWebRequestCreate.cs: added
	* ICertificatePolicy.cs: added
	* ServicePoint.cs: stubbed
	* ServicePointManager.cs: stubbed
	* CookieContainer.cs: added
	* Authorization.cs: implemented

svn path=/trunk/mcs/; revision=4315
2002-05-05 18:37:57 +00:00