(TryParse): Changed argument name to match MS.
(ParseIPV4): Only treat zero-length or " " address as empty on 1.0
profile. On 2.0 profile, only ignore characters after blank if last
part is valid hex string.
* IPv6Address.cs: Removed extra spaces and tabs.
* IPAddressTest.cs: Remove use of deprecated Assertion. Improved
existing tests.
svn path=/trunk/mcs/; revision=94052
* Cookie.cs: set Version to '1' if Port is set,
don't include path and domain informations when version is 0,
match ToString () output with .NET 2.0,
fixes bug #316017
* CookieTest.cs: enabled ToString () test,
added Version property test
svn path=/trunk/mcs/; revision=94013
1.0 profile change. Added trivial tests to argument null checks.
Added test for DefaultWebProxy. Fixed line endings.
* WebRequest.cs: Changed serialization ctor to throw NIE on 1.0
profile. Cache default proxy, but still allow it to be explicitly set
to null.
svn path=/trunk/mcs/; revision=87517
* HttpListener2Test.cs: Removed CWL.
* HttpListenerRequest.cs: Removed dead code. USe String.Length to
check for zero-length string. Use instance field for is_chunked, and
also set it for GET/HEAD/DELETE. Fixed HasEntityBody to return true
when Content-Length > 0, or Transfer-Encoding is chunked.
* System_test.dll.sources: Added HttpListenerRequestTest.cs.
svn path=/trunk/mcs/; revision=86666
* 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
HTTP method.
* System_test.dll.sources: Added SocketResponder.cs.
* SocketResponser.cs: Utility class for tests that require a listener.
svn path=/trunk/mcs/; revision=71912
no longer throw NotSupportedException. No longer store ContentLength
in headers. Do not allow null or zero-length method. Allow timeout
to be set to -1 (infine). Only disallow GET, HEAD and CONNECT requests.
Removed workarounds for bug #24943. In (Begin)GetRequest overwrite
file if it already exists. Binary serialization compatibility fixes.
* FileWebResponse.cs: Return application/octet-stream as ContentType.
* FileWebRequestTest.cs: Reworked tests to no longer rely on TMPDIR.
Added tests for ConnectionGroupName, ContentLength, ContentType,
Credentials, GetRequestStream, GetResponse, Method, PreAuthenticate,
Proxy, RequestUri, Timeout. Added binary serialization compatibility
tests.
* FileWebResponseTest.cs: Added tests for ContentLength, ContentType,
GetResponseStream, Headers, ResponseUri.
* System_test.dll.sources: Added FileWebResponseTest.cs.
svn path=/trunk/mcs/; revision=71809
fixed it for 2.0 profile. Added test for binary serialization.
* WebProxy.cs: Lazy init bypassList. Fixes for binary serialization
compatibility. Added stub for UseDefaultCredentials (2.0). On 2.0
profile, throw ArgumentNullException in IsBypassed if host is null.
svn path=/trunk/mcs/; revision=71806
* HttpListener2Test.cs: Put a bunch of verbs that would not be
allowed.
2007-01-11 Miguel de Icaza <[email protected]>
* HttpListenerRequest.cs (SetRequestLine): Add validation for the
verbs.
svn path=/trunk/mcs/; revision=70894
ctor. Added null checks for the address passed in the ctors.
* IPAddressTest.cs: Added 4-byte and null address tests.
svn path=/trunk/mcs/; revision=70191
* HttpListener2Test.cs: Add test case for bug #79112
Question: why in the response I do not get my `Miguel is love' message?
svn path=/trunk/mcs/; revision=64115
* IPAddress.cs : ugh, I was testing with run-test-ondotnet, not
run-test. Those IPv6 properties needed to be reimplemented.
* IPAddressTest.cs : actually #11 in TryParse() is not working.
added more tests on IsIPv6Blah properties.
svn path=/trunk/mcs/; revision=58634
* IPAddress.cs : added NET_2_0 TryParse() and IPv6 related properties.
* IPAddressTest.cs : added some tests for TryParse() and IPv6 related
properties.
svn path=/trunk/mcs/; revision=58613