* FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
authorGert Driesen <drieseng@users.sourceforge.net>
Sun, 28 Jan 2007 15:52:04 +0000 (15:52 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Sun, 28 Jan 2007 15:52:04 +0000 (15:52 -0000)
commitd5c2cefed54b13cac48306f7b03969161d42a0f8
tree4d1428d6714be6ade0d6e0ab99bc1bdee703be32
parent51d19a431c64640ac72242f34fd58ab7ad496388
* FileWebRequest.cs: Fixed PreAuthenticate and Proxy properties to
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
mcs/class/System/ChangeLog
mcs/class/System/System.Net/ChangeLog
mcs/class/System/System.Net/FileWebRequest.cs
mcs/class/System/System.Net/FileWebResponse.cs
mcs/class/System/System_test.dll.sources
mcs/class/System/Test/System.Net/ChangeLog
mcs/class/System/Test/System.Net/FileWebRequestTest.cs
mcs/class/System/Test/System.Net/FileWebResponseTest.cs [new file with mode: 0644]