2004-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebProxy.cs: fix scheme detection. Patch by Konstantin Triger
	(kostat@mainsoft.com).

2004-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: detect changes in scheme or port when redirecting.
	Fixes las take on bug 61218.

2004-07-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: moved loading of the ssl stream Type to its own
	method. Don't create a new ssl stream if we're reusing the connection.

	* WebConnectionStream.cs: ensure the number of bytes copied in ReadAll
	is the expected even if the dta from the server has extra bytes.

2004-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs:
	* WebConnectionStream.cs: when the status code is 1xx, 204 or 304,
	"responses MUST NOT include a message-body". We tried to read the
	stream even when getting those codes and considered the 0 length
	read as a failure.

2004-07-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: removed bogus Monitor.Exit.
	* WebConnection.cs: use Address instead of RequestUri when checking for
	the scheme in order to select the stream type. Fixes bug #61218.

2004-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* ChunkStream.cs: added ChunkLeft property.
	* WebConnection.cs:
	(EndRead): when using small byte arrays to read from a chunked stream,
	ensure we've read the chunk size and try to fulfill the request
	completely. fixes bug 59653.

2004-05-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnectionStream.cs: fixed CanRead property. Closes bug #59273.

2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* DigestClient.cs: cache the sessions based on address and
	credentials, not only address. Added poor men's expiration to
	the session cache. Fixes bug #59202.

2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs:
	* IPEndPoint.cs:
	* IPv6Address.cs: no more warnings about IPAddress.Address.

2004-05-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebException.cs: implemented serialization .ctor and
	GetObjectData().

2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebAsyncResult.cs: don't create the WaitHandle if not needed.

2004-05-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: added 3 missing properties for 1.1. They are not
	used yet.

	* NetConfig.cs: added MaxResponseHeadersLength field.

	* ServicePoint.cs:
	* ServicePointManager.cs: added missing properties for 1.1. 

2004-05-03  Sebastien Pouliot  <sebastien@ximian.com>

	* WebConnection.cs: Use assembly name const to load Mono.Security.

2004-05-03  Lluis Sanchez Gual <lluis@ximian.com>

	* NtlmClient.cs: Use assembly name const to load Mono.Security.

2004-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnectionStream.cs: avoid the exception when getting the content
	length if possible.

2004-03-29  Lluis Sanchez Gual <lluis@ximian.com>

	* HttpWebRequest.cs: Use a lock block instead of Monitor.Enter/Exit, so
	the lock is released in case of exception (for example, a 
	ThreadAbortException). This also "fixes" bug #52417.
	Beware, this requires a runtime update (due to a bug in Monitor.Exit).
	* ServicePoint.cs: Changed method from internal to private, since it
	is not called from outside the class.

2004-03-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: added the exception status to the error message.
	* WebConnection.cs: add headers using SetInternal instead of Add to
	bypass header name validation. Fixes bug #55994.
	* WebHeaderCollection.cs: added SetInternal (string header).

2004-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs:
	* WebConnectionGroup.cs: the requests queue is now shared for all the
	connections belonging to the same connection group.

2004-02-26  Sebastien Pouliot  <sebastien@ximian.com>

	* DefaultCertificatePolicy.cs: New. Certificate validation
	policy compatible with the documented one present in Fx. It
	allows valid certificates and expired certificates to be used
	for SSL connections.
	* ServicePointManager.cs: Removed the DummyPolicy. Now creates
	a DefaultCertificatePolicy to validate certificates. 

2004-02-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* ServicePoint.cs: SendContinue is always false for HTTP/1.0

	* WebConnection.cs: get rid of WaitForContinue() (yes!) and prevent
	calling more the ContinueDelegate more than once when we get the
	headers in several packets.

	* WebConnectionStream.cs: removed call to WaitForContinue.

2004-02-25  Sebastien Pouliot  <sebastien@ximian.com>

	* WebConnection.cs: Update previous patch to use HttpsClientStream
	(internal in Mono.Security assembly) in place of SslClientStream.
	This will reduce reflection and allow to use ICertificatePolicy.

2004-02-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* DigestClient.cs: fix quote handling. Reordered attributes in response.
	Fixed typo (QOP->CNonce). Now Digest works with apache2.

2004-02-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* DigestClient.cs: removed Console.
	* HttpWebRequest.cs: 401/407 were hanging for GET. Fixed.

2004-02-24  Sebastien Pouliot  <sebastien@ximian.com>

	* DigestClient.cs: Fixed issue with Apache server which do not use "
	for specifying the digest algorithm (.e.g. algorithm=MD5 not ="MD5").

2004-02-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: arghhh. I used the server response headers instead
	of what the client is supposed to send. Thanks to Helge Hess.

2004-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* AuthenticationManager.cs: implemented PreAuthenticate().

	* HttpWebRequest.cs: once we know the version of the server, use it if
	below the requested one. Remove 'Expect', 'Content-Length' and /or 
	'Transfer-Encoding' if appropiate due to changes in version. Fixed 
	'Host' header for non-standard ports. Support preauthentication. Closes
	bug #50530.

2004-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: check for missing or wrong URI in Location header
	when redirecting.

	* WebConnection.cs: if the data read does not contain all the headers,
	keep it around and read the rest until we get to the response body.
	Allow response code with no description. Fixed bug #54543.

2004-02-18  Sebastien Pouliot  <sebastien@ximian.com>

	* SecurityProtocolType.cs: Added missing [Serializable] to enum. Added 
	Default and Ssl2 to NET_2_0 profile. Enum is now internal for NET_1_0
	profile (as we need it for SslClientStream).
	* ServicePoint.cs: Added internal SetCertificates(client,server).
	* ServicePointManager.cs: Added CheckCertificateRevocationList and
	CheckCertificateRevocationList static properties (public in 1.1, 
	internal for 1.0).
	* WebConnection.cs: Dynamically creates a SslClientStream (from 
	Mono.Security assembly) in case of https. Changed NetworkStream to 
	Stream everywhere.

2004-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: send the 'Connection: keep-alive' header when we
	don't know the server version or it's 1.0.

	* ServicePoint.cs: added SetVersion.

	* WebAsyncResult.cs: remove ChunkAsyncResult.

	* WebConnection.cs: set the ServicePoint version when getting a response
	from the server.

	* WebConnectionStream.cs: when posting chunked content, send the head,
	body and trailer of the chunk at once instead of doing 3 separate
	writes, which may cause troubles.

2004-02-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: if we get a 100 when we're not waiting for it, set
	that information in the ServicePoint.

	* WebConnectionStream.cs: send headers in the right order for
	non-chunked POST.

2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnectionStream.cs: fixed nullrefs in BeginWrite/EndWrite.

2004-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: on second and sucesive tries when authenticating,
	don't use chunked encoding for POST, as we know the content length and
	have the body. Nullify bodyBuffer always in CheckFinalStatus.

	* WebAsyncResult.cs: added ChunkAsyncResult property. It holds the
	IAsyncResult when writing CRLF at the end of a chunk.

	* WebConnectionStream.cs: support sending chunked data.

2004-01-24  Lluis Sanchez Gual <lluis@ximian.com>

	* HttpWebRequest.cs: When retrying a POST request after an
	authentication failure, resend the body. This fixes bug #51841.
	* WebConnectionStream.cs: Added properties for getting what's been
	written.

2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: don't send 'Expect: 100-continue' for 1.0 version.

2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: support proxy authentication.

2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* BasicClient.cs:
	* DigestClient.cs: use IndexOf instead of StartsWith to deal with
	servers that provide several authentication schemas.

2004-02-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* ChunkStream.cs: use an array of buffers instead of a MemoryStream for
	storing the chunks. This way, we won't miss traling data from the
	previous chunk when a new one is received before the other is fully
	read.

2004-01-27  Nick Drochak <ndrochak@ieee.org>

	* DigestClient.cs:
	* HttpWebRequest.cs:
	* IPv6Address.cs:
	* WebClient.cs:
	* WebConnection.cs:
	* WebConnectionStream.cs: Remove unused variables thus eliminating some
	build warnings.

2004-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
	handling for the case when the same packet also contains the actual
	[2-5]xx response.

2004-01-24  Lluis Sanchez Gual <lluis@ximian.com>

	* HttpWebRequest.cs: Added missing property.

2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
	bug #53222.

2004-01-16  Lluis Sanchez Gual <lluis@ximian.com>

	* ChunkStream.cs: The "size" parameter of Write is not the number of
	bytes to write, but the last offset to be written. Thus, in WriteAndRead
	Back, since "read" is not an offset but the number of bytes, it must be 
	added to the offset. Maybe it would be a good idea to change the name of
	the parameter, since it is confusing. This should fix bug #52591.

2004-01-12  Lluis Sanchez Gual <lluis@ximian.com>

	* WebConnection.cs: Yet another fix for WebConnection. This fixes 
	bug #52169.

2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
	tidied up the end of ReadDone. Disabled relaunching the request if 2
	InitRead are called, since now we don't throw everything into
	RegisterWaitForSingleObject but one request at a time.

	* WebConnectionGroup.cs: when checking available connections, allow them
	not to be Connected but allocated to honor the connection limit.
	
	* WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
	too. ReadAll don't mess contentLength if it's provided in the headers.

	BIG thanks to Lluis. Turns out that we were debugging the same stuff and
	his Data.Init discovery was THE thing I was missing.

	Fixes bug #51277.

2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* ServicePointManager.cs: use GetMaxConnections to get the appropiate
	number of connections limit.

2004-01-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* MonoHttpDate.cs: use the invariant culture, not en-US. Suspected
	guilty for bug 52629.

2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* CredentialCache.cs: return null instead of throwing NotImplemented.

2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: fixed checking if method allows a body. Patch by
	Benjamin Jemlich (pcgod@gmx.net).

2003-12-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: deal with authentication schemes that have more
	than 1 round trip (Ntlm).

2003-12-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* NtlmClient.cs: new class that actually uses one from Mono.Http to do
	the authentication.

2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: when building the redirect URI, use the previous
	one as the base URI, which makes relative URIs work.

2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* DigestClient.cs: merged in code from Sebastien Pouliot and Greg
	Reinacker that Supports cnonce and preauthentication.

2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* DigestClient.cs: initial Digest authentication. Works with apache
	mod_digest.

2003-11-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: removed unneeded StringBuilder.
	* WebConnection.cs: default to keep the connection open for HTTP/1.1
	only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.

2003-11-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: turns out that socket.Connected is not useful until
	we actually try to send/receive data, even if the other end has already
	closed the socket. Added TryReconnect() and Connected.

	* WebConnectionData.cs: default value for StatusCode is 0 now.

	* WebConnectionGroup.cs: reuse the connection since the beginning,
	instead of opening up to ConnectionLimit and then reusing.

	* WebConnectionStream.cs: reopen the socket if we're trying to reuse
	one which fails on first write.

2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
	wrap it and do our job before calling it. Fixes bug #48497.

2003-11-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* WebExceptionStatus.cs: Restyled, Added .Net 1.1 members
	* SecurityProtocolType.cs: Added and implemented

2003-11-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: fixed redirects when they target another host.

2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs: prevent exceptions when trying to parse the static IPv6
	addresses.

2003-10-17  Pedro Martnez Juli  <yoros@wanadoo.es>

	* WebClient.cs: use Path.DirectorySeparator instead of "/" for
	windows compatibility. Add some checks for file paths like
	"C:/xxx/yyy/..." and like "/home/xxx/...".

2003-10-16  Pedro Martnez Juli  <yoros@wanadoo.es>

	* WebClient.cs: added a slash between directory and file names.

2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs:
	* HttpWebResponse.cs: better abort handling and leave the stream in a
	stable status on abort.

2003-10-12  Pedro Martnez Juli  <yoros@wanadoo.es>

	* WebClient.cs: refine reading of local files (like MS.NET).

2003-10-10  Pedro Martnez Juli  <yoros@wanadoo.es>

	* WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
	but we didn't. Now, when Uri fails with an exception, it adds
	"file://" before the URI and tries again.

2003-10-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* ServicePoint.cs: preparing for recycling. Not yet finished.
	* ServicePointManager.cs: this is the one that reads config.
	* WebConnectionGroup.cs: don't read config here.
	* WebConnection.cs: added the queue again. Launch queued requests on
	error.

2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: the queue is now handled by the threadpool.
	Initialize the connection data in a place where it does not depend on
	the execution order of the requests in threadpool. More error handling.

	* WebConnectionGroup.cs: use the limits in the config file and reuse
	connections when the limit is reached.

2003-10-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: handle 304  la MS.
	* WebConnection.cs: set the response data when reading 0 bytes.

2003-09-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnectionStream.cs: fix by Lluis to avoid the stream being in an
	invalid state.

2003-08-14  Nick Drochak <ndrochak@gol.com>

	* WebRequest.cs: Check lower case string since that is what we will add.

2003-08-04  Jerome Laban <jlaban@wanadoo.fr>

	* IPHostEntry.cs: Default contructor must not initialize members.
	(Fixes bug #45575).

2003-07-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* CredentialCache.cs: Removed undefined serializable attribute

2003-07-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* ChunkStream.cs:
	(WantMore): true if we've not received the last chunk yet. Fixes
	bug #45463. Thanks to Miguel for tracking this down and providing a
	test case.
	
	* WebConnection.cs: removed bogus ^M's.
	
	* WebHeaderCollection.cs: provide more info when the header or value is
	wrong.

2003-07-15  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* ChunkStream.cs: Removed unused members
	* IPAddress.cs: Removed unused exception variable, fixes compiler
	warning.
	* WebConnection.cs: Removed unused exception variables, fixes compiler
	warnings.

2003-07-14  Lluis Sanchez Gual <lluis@ximian.com>

	* NetConfig.cs: If Clone method is not public, then it must use
	  explicit interface method implementation syntax.

2003-07-14  Jerome Laban <jlaban@wanadoo.fr>

	* Dns.cs: Reworked indentation.
	Added IPv6 support.
	Added literal address checking in GetHostByAddress.
	Changed Dns.Resolve behavior.
	* IPAddress.cs:
	* IPEndPoint.cs: Added IPv6 support.
	* IPv6Address.cs: Added address compression.
	* NetConfig.cs: Added configuration section. 	

2003-07-14  Jerome Laban <jlaban@wanadoo.fr>

	* ServicePoint.cs: Removed Connect and GetEndPoint methods.
	Removed reverse resolution when uri is literal IP address. 
	* WebConnection.cs: IPv6 compatibility update: Try to connect
	to all addresses returned by IPHostEntry.
	* WebConnectionGroup.cs: Removed unused parameter. 

2003-07-13  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* WebProxy.cs: Add serialization/ deserialization support

2003-07-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* ProxyUseType.cs:
	* WebStatus.cs: Deleted (do not exist in this assembly)
	* IPv6Address.cs: Made internal

2003-07-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs:
	* ServicePointManager.cs:
	* WebConnection.cs: added support for proxies.

2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* DnsPermissionAttribute.cs:
	* SocketPermissionAttribute.cs: Fixed wrong AttributeUsageAttribute

2003-07-05  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

	* WebPermission.cs: Added and partially implemented
	* WebPermissionAttribute.cs: Added and implemented

2003-07-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebClient.cs: fixed bug #45651.

2003-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebClient.cs: Small fix by Sebastian <scut@nb.in-berlin.de>.

2003-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: fixed header writing the reusing a connection and
	the server does not send 100-continue response.

2003-06-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnection.cs: close the socket and connection when disposing.
	* WebRequest.cs: removed setter for RequestUri. Allow non-public ctors
	when creating instances.

	* HttpWebRequest.cs:
	* HttpWebResponse.cs:
	* FileWebRequest.cs: support serialization.

	* FileWebResponse.cs: support serialization and fixed dispose checks.

	* FileWebRequestCreator.cs:
	* HttpRequestCreator.cs: added internal .ctor.

2003-06-24  Lluis Sanchez Gual <lluis@ximian.com>

	* HttpWebRequest.cs: SetWriteStream(): SendRequestHeaders should be
	called before asyncWrite.SetCompleted, to make sure that the waiting
	thread does not start to send more information before
	SendRequestHeaders has finished.

2003-06-22  Lluis Sanchez Gual <lluis@ximian.com>

	* WebConnectionStream.cs: Only increment pendingReads if an asynchronous
	read is really needed.

2003-06-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebHeaderCollection.cs: prevent duplication headers used niternally.

2003-06-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: if CookieContainer has not been set, make
	HttpWebResponse ignore Set-Cookie* headers.

	* HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if
	CookieContainer have been provided to the request.

2003-06-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* AuthenticationManager.cs: get the list of authentication modules from
	the configuration files. Added Clear and fixed Unregister.

	* BasicClient.cs: fully implemented.

	* HttpWebRequest.cs: added support for Basic authentication when
	credentials are set.

	* NetworkCredential.cs: fixed GetCredential.

2003-06-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: *really* take care of requestSent to prevent
	sending the same request twice.
	* WebAsyncResult.cs: don't close the handle. Just Reset.
	* WebConnectionStream.cs: removed unneeded line.

2003-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: use InternalClose when we are not going to send the
	rest of the request stream because of an error after sending the
	headers.

	* WebConnection.cs: check for completion after setting the response.
	Enable reading in NextRead.

	* WebConnectionStream.cs: re-fixed the count for partially buffered
	reads. If the network stream returns 0 bytes, we're done.

2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
	special headers *after* the others.

2003-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* WebConnectionStream.cs: when the read is partially filled from the
	initial buffer, add those bytes too. Thanks to Lluis for debugging this.

2003-06-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: added ExpectContinue property.
	* WebConnection.cs: allow 100 Continue to be delayed after waiting for
	it.

2003-06-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: don't send "Expect: 100-continue" is the server
	is known not to respond to that.

	* ServicePoint.cs: added SendContinue property.

	* WebConnection.cs: only wait 2 seconds for a continue reply. If it
	timeouts, set SendContinue to false and proceeed sending data.

	* WebConnectionStream.cs: if 100-continue is not received and instead we
	get a 417 or anything else, don't send the data.

	* WebClient.cs: implemented all missing properties and methods except
	UploadFile.

2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* FileWebRequestCreator.cs: splitted from WebRequest.
	* HttpRequestCreator.cs: splitted fromWebRequest.
	* WebRequest.cs: added methods that are used by the new configuration
	handler to set prefix/type name requests creators.

2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* AuthenticationManager.cs:
	* Authorization.cs:
	* BasicClient.cs: new file.
	* ChunkStream.cs: new file.
	* Cookie.cs:
	* CookieContainer.cs:
	* GlobalProxySelection.cs:
	* HttpWebRequest.cs:
	* HttpWebResponse.cs:
	* IAuthenticationModule.cs:
	* ServicePoint.cs:
	* ServicePointManager.cs:
	* WebAsyncResult.cs: new file.
	* WebConnection.cs: new file.
	* WebConnectionData.cs: new file.
	* WebConnectionGroup.cs: new file.
	* WebConnectionStream.cs: new file.
	* WebException.cs:
	* WebHeaderCollection.cs:
	* WebProxy.cs:
	* WebResponse.cs:

	Reworked HttpWebRequest and related classes.

2003-05-30  Miguel de Icaza  <miguel@ximian.com>

	* HttpWebRequest.cs (EndGetResponse): Do not throw exceptions on
	InternalServerError (500)

2003-05-29  Miguel de Icaza  <miguel@ximian.com>

	* HttpWebRequest.cs (Close): Move the code that accumulates the
	output to Close from Flush.  Flush could have been called in the
	middle of the processing, and would have generated invalid results
	(which it did).

2003-05-23  Zoltan Varga  <vargaz@freemail.hu>

	* Dns.cs (GetHostByAddress): Return the local host when called with
	IF_ANY.

2003-04-29  Miguel de Icaza  <miguel@ximian.com>

	* WebClient.cs (DownloadData): Close the underlyng stream.
	(DownloadFile): Use using, so the file gets closed.

2003-04-24  Miguel de Icaza  <miguel@ximian.com>

	* WebClient.cs (DownloadData): Instead of using a MemoryStream,
	keep track of all the small chunks in an ArrayList.  The
	MemoryStream had the property of reallocating itself, and the
	problem was that MemoryStream.GetBuffer would return the buffer
	(correctly), but not something of the right size.  So clients of
	DownloadData would get the extra unused bytes as part of the
	result.

	The solution would have been to make another copy at this point,
	instead, we only keep the small allocations around in the
	ArrayList, and we only do one large allocation at the end.

	* HttpWebResponse.cs: If there is a Content-Length header, pass
	this information to our HttpWebResponseStream, so it knows when to
	stop, instead of waiting for the stream to be shut down by the
	other end.

	* HttpWebRequest.cs: Only set the `delay-header-writing' mode on
	the underlying stream if the method will do a content transfer and
	no Content-Length was provided. If not (HEAD and GET or
	Content-Length provided), keep going.
	
2003-04-23  Miguel de Icaza  <miguel@ximian.com>

	* HttpWebRequest.cs: .NET Allows the HttpWebRequest to not have
	the ContentLength specified on the request.  If that happens, we
	have to accumulate all the data written, and once we accumulate
	the data, we send it off.  

	Notice that the documentation in .NET is actually incorrect, they
	state that setting ContentLength is mandatory.  It is not.

2003-04-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebResponse.cs: fixes bug #41180.

2003-03-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: throw an exception is the response code is >= 300.

2003-03-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: implemented IDisposable, make the request stream
	read only. Changed the way of disposing the socket.

	* HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
	handle chunked transfer encoding (no more hangs), added serialization
	stuff, call CheckDisposed at the beginning of methods/properties (not
	in a finally clause).

2003-02-17  Nick Drochak <ndrochak@gol.com>

	* WebClient.cs : Implemented Credentials property.

2003-02-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* SocketAddress.cs: byte 1 of the data is the high byte of the family,
	not the size.

2003-01-29  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

	* WebClient.cs : hacked OpenRead, DownloadData and DownloadFile.

2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs: applied patch from Tim Haynes
	(thaynes@openlinksw.com).

	Avoided double-sending of the request to the server when both
	GetRequestStream() and GetResponse() are called.
	System Header attributes survive the Headers attribute set.
	Added handling of Connection: KeepAlive/Close

2002-10-03  Dick Porter  <dick@ximian.com>

	* Dns.cs: Fixed GetHostName()

2002-09-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs:
	* HttpWebResponse.cs: applied another patch from Shahms E. King
	(shahms@shahms.com).

2002-09-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* HttpWebRequest.cs:
	* HttpWebResponse.cs: applied patch from Shahms E. King
	(shahms@shahms.com).

2002-05-29  Lawrence Pit <loz@cable.a2000.nl>

	* MonoHttpDate.cs: added
	* HttpWebRequest.cs: using MonoHttpDate
	* HttpWebResponse.cs: using MonoHttpDate
	* DnsPermission.cs: correct XML output
	* SocketPermission.cs: correct XML output

2002-05-21  Lawrence Pit <loz@cable.a2000.nl>

	* WebClient.cs: stubbed
	* WebProxy.cs: fixed bug; had to change internal representation
	of bypasslist to ArrayList, different implementation of checking
	regex's.

2002-05-20  Lawrence Pit <loz@cable.a2000.nl>

	* WebProxy.cs: added, implemented
	* ServicePoint.cs: implemented most
	* ServicePointManager.cs: implemented
	* HttpWebRequest.cs: started implementation
	* HttpWebResponse.cs: improved disposable routines
	* FileWebRequest.cs: slight improvement of Close method
	
2002-05-19  Lawrence Pit <loz@cable.a2000.nl>

	* FileWebRequest.cs: finished implementation of async methods.
	* FileWebResponse.cs: improved disposable routines.
	* IPEndPoint.cs: fixed bug #24666 in Serialize and Create methods, 
	byte ordering of address was backwards.

2002-05-13  Lawrence Pit <loz@cable.a2000.nl>

	* Dns.cs: Reimplemented (simplified and fixed) asynchronous methods by
	relying on standard asynchronous delegate features. Added checks for
	null strings.
	* HttpWebResponse.cs: implemented properties
	* FileWebResponse.cs: improved the way resources are disposed.
	* FileWebRequest.cs: started implementation of asynchronous methods
	* ServicePointManager.cs: implemented properties

2002-05-12  Lawrence Pit <loz@cable.a2000.nl>

	* HttpWebRequest.cs: properties implemented
	* HttpWebResponse.cs: added
	* GlobalProxySelection.cs: implemented
	* FileWebResponse.cs: added
	* FileWebRequest.cs: some methods implemented

2002-05-11  Lawrence Pit <loz@cable.a2000.nl>

	* WebHeaderCollection.cs: implemented
	* WebRequest.cs: implemented
	* FileWebRequest.cs and HttpWebRequest.cs stubs added

2002-05-09  Lawrence Pit <loz@cable.a2000.nl>

	* Rewrote IPAddress.Parse method, passing all unit tests

2002-05-09  Lawrence Pit <loz@cable.a2000.nl>

	* fixed bug in IPEndPoint.Equals method
	* fixed bug in IPAddress.Parse method
	* fixed bug in IPAddress.SwapLong method
	* fixed several bugs in Cookie.cs

2002-05-06  Lawrence Pit <loz@cable.a2000.nl>

	* 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

2002-05-05  Lawrence Pit <loz@cable.a2000.nl>

	* CredentialCache.cs: implemented

2002-05-05  Lawrence Pit <loz@cable.a2000.nl>

	* IPAddress.cs: fixed IsLoopback, address was already in host order

2002-05-05  Lawrence Pit <loz@cable.a2000.nl>

	* IPv6Address.cs: added (note: not part of .net spec)

2002-05-01  Lawrence Pit <loz@cable.a2000.nl>

	* DnsPermission.cs: implemented
	* DnsPermissionAttribute.cs: implemented

2002-04-28  Lawrence Pit <loz@cable.a2000.nl>

	* EndpointPermission.cs: implemented
	* SocketPermission.cs: implemented
	* SocketPermissionAttribute.cs: implemented
	* ProtocolViolationException.cs: implemented
	* Dns.c: passing w32 error code when no host found

2002-04-27  Lawrence Pit <loz@cable.a2000.nl>

	* Cookie.cs: implemented
	* CookieCollection.cs: implemented
	* CookieException.cs: implemented

2002-04-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs: initialize the read only fields with Parse().

2002-04-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs: little changes to behave as MS.

2002-04-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* Dns.cs (Resolve): behave as MS. Agreed with Mads.

2002-04-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs: the icalls for sockets are endianness-aware. So I
	changed a few things. Also included a workaround for bug #23547.

2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs: use System.BitConverter.IsLittleEndian (suggested
	by Paolo) instead of guessing the endianness.

	* SocketAddress.cs: implemented Equals() and GetHashcode().
	
2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPEndPoint.cs: modifications to constructors according to the
	specifications (suggested by Lawrence Pit).

2002-04-15  Patrik Torstensson <patrik.torstensson@labs2.com>

	* IPEndPoint.cs: Fixed build breaker.

2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPEndPoint.cs: implemented Equals() and GetHashCode(). Now 100%
	complete.

2002-04-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

	* IPAddress.cs: finished all MonoTODO's. Use network order to store 
	the address. Check for max and min values in Address:set. IsLoopback()
	returns now true for all 127.x.y.z. Some more checks in Parse ().
	Some changes to behave as MS does.

2002-02-24  Duncan Mak  <duncan@ximian.com>

	* ICredentialLookup.cs: Added the GetCredential method to the
	interface. The interface is named "ICredentials", should this file
	be renamed?	

	* NetworkCredential.cs: Added to CVS. Need to investigate on how
	GetCredential() works

2002-01-23  Dick Porter  <dick@ximian.com>

	* SocketAddress.cs: Implemented.

	* IPEndPoint.cs: Turned 'Address' field into a real property.
	Implemented Create() and Serialize() methods.

	* IPAddress.cs: Fixed class constructor, turned 'Address' field
	into a real property. Removed undocumented "public
	IPAddress(string)" constructor.

	* EndPoint.cs: Implemented.  All methods return
	NotSupportedException to enforce subclass overriding.

	* Dns.cs: Replaced fixed-layout Hostent struct and cygwin
	P/Invokes with portable internal calls.

2002-01-17  Miguel de Icaza  <miguel@ximian.com>

	* Dns.cs: Updated to API changes.

	* IPAddress.cs: Updated API.  Much left to implement.

	* Dns.cs: Remove IPToString method

2002-01-06  Ravi Pratap  <ravi@ximian.com>

	* Dns.cs, AuthenticationManager.cs, SocketAddress.cs : MonoTODO
	attribute insertion.

2001-11-22  Nick Drochak <ndrochak@gol.com>

	* IPAddress.cs: Fix constructor bug, properly name Address property,
	and use triple-slash for comments.

2001-11-20  Miguel de Icaza  <miguel@ximian.com>

	* IPAddress.cs: Updated to contain Any, Broadcast, Loopback and
	None as suggested by Phillip.

2001-09-26  Mads Pultz <mpultz@get2net.dk>
	* Dns.cs: Initial work on BeginGetHostByName and EndGetHostByName implemented.

2001-09-24  Mads Pultz <mpultz@get2net.dk>

	* Dns.cs: Minor changes (some print statements removed)

2001-09-23  Mads Pultz <mpultz@get2net.dk>

	* Dns.cs: Initial work submitted to repository.
	* IPHostEntry.cs: Initial work submitted to repository.

2001-07-12  Sean MacIsaac  <macisaac@ximian.com>

	* Authorization.cs: Fixed compiler error.

	* IAuthenticationModule.cs: Changes for Beta2.

	* IPAddress.cs: Internal storage changed to be uint not int.

	* IPEndPoint.cs: Fixed compiler error.

	* EndPoint.cs: Fixed compiler error.

	* AuthenticationManager.cs: Fixed typo.
