2004-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Wed, 11 Aug 2004 20:03:15 +0000 (20:03 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Wed, 11 Aug 2004 20:03:15 +0000 (20:03 -0000)
commit5f80f81cd4472489f37bc830e9b540f1cb5519e1
tree95b7659499cd104cf8a6ce78e4da0f394586666b
parentaac6e4079a7821c4e0cb6fc1cffffb0f8faf56df
2004-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebResponse.cs: set-cookie and set-cookie2 can be present more
than once and have multiple values. Don't rely on string.split when
parsing cookie values.

* WebHeaderCollection.cs: same thing for set-cookie and set-cookie2.
Fixed GetValues (it was splitting values that contained a comma) and
changed SetInternal to handle multi-value headers.

Fixes bug #62744.

svn path=/trunk/mcs/; revision=32235
mcs/class/System/System.Net/HttpWebResponse.cs
mcs/class/System/System.Net/WebHeaderCollection.cs