Commit Graph
25 Commits
Author SHA1 Message Date
Roei Erez 4c01c8ae72 adding TARGET_JVM on explicit interface implementation
svn path=/trunk/mcs/; revision=81322
2007-07-04 09:15:15 +00:00
Dick Porter fa277dafe1 2007-06-19 Dick Porter <[email protected]>
* AuthenticationManager.cs: 
	* IWebProxyScript.cs: 
	* Authorization.cs: 
	* Cookie.cs: 
	* CookieException.cs: 
	* CredentialCache.cs: 
	* FileWebRequest.cs: 
	* WebRequest.cs: 
	* FileWebResponse.cs: 
	* WebResponse.cs: 
	* FtpWebRequest.cs: 
	* HttpWebRequest.cs: 
	* DecompressionMethods.cs: 
	* HttpWebResponse.cs: 
	* ProtocolViolationException.cs: 
	* ServicePoint.cs: 
	* ServicePointManager.cs: 
	* WebClient.cs: 
	* WebException.cs: 
	* WebHeaderCollection.cs: 
	* WebProxy.cs: 
	* WebExceptionStatus.cs: 2.0 profile updates



svn path=/trunk/mcs/; revision=80152
2007-06-19 13:23:16 +00:00
Adar Wesley 831089227a 2007-05-16 Adar Wesley <[email protected]>
* System20.csproj: added classes to compilation set IOControlCode.cs,
	IPPacketInformation.cs

	* CookieCollection.cs: added missing method strongly typed CopyTo.

	* CredentialCache.cs: added missing methods Add, Remove, GetCredential

	* HttpWebRequest.jvm.cs: added missing ClientCertificates getter.

	* ServicePoint.cs: added missing method CloseConnectionGroup.

	* WebClient.cs: added missing methods OnDownloadProgressChanged,
	OnUploadProgressChanged, GetWebRequest, GetWebResponse

	* WebHeaderCollection.cs: added missing methods IsRestricted, Add,
	Remove, Set.

	* WebProxy.cs: added missing method GetObjectData.

	* Socket.jvm.cs: added missing methods EndDisconnect, IOControl,
	Send 2.0 overloads, Receive 2.0 overloads, ReceiveMessageFrom,
	BeginReceiveMessageFrom, EndReceiveMessageFrom, 
	EndAccept 2.0 overloads, BeginSend, EndSend, BeginReceive, 
	EndReceive, SendFile, BeginSendFile, EndSendFile, Disconnect,
	DuplicateAndClose

svn path=/trunk/mcs/; revision=77472
2007-05-16 12:03:13 +00:00
Miguel de Icaza 29fc1a6f37 2007-05-07 Miguel de Icaza <[email protected]>
Missing second part of the patch.
	

svn path=/trunk/mcs/; revision=76879
2007-05-08 00:29:01 +00:00
Miguel de Icaza 98fe081726 2007-05-07 Miguel de Icaza <[email protected]>
* WebHeaderCollection.cs: To be compatible with older versions of
	Mono that might have serialized this in a different format, catch
	the potential exception, and try the old name.

	This should become a practice whenever we fix serialization in the
	future. 

	This is for #81467

svn path=/trunk/mcs/; revision=76877
2007-05-07 23:11:54 +00:00
Konstantin Triger 01fc0f59f0 Use invariant culture for string comparing
svn path=/trunk/mcs/; revision=75914
2007-04-19 10:13:35 +00:00
Miguel de Icaza 4e79981d58 2007-04-17 Joel Reed <[email protected]>
* WebHeaderCollection.cs: www-authenticate should be multivalue.
        This fixes a bug related to RFC 2608 which says in section
        "15.2 Offering a Choice of Authentication Schemes"

        An HTTP/1.1 server may return multiple challenges with a 401
 (Authenticate) response, and each challenge may use a different
        scheme.  The order of the challenges returned to the user agent
is in
        the order that the server would prefer they be chosen. The
server
        should order its challenges with the "most secure"
authentication
        scheme first. A user agent should choose as the challenge to be
made
        to the user the first one that the user agent understands.

        Before this change, mono was choosing whatever was sent last,
        which was the most insecure authentication option.


svn path=/trunk/mcs/; revision=75828
2007-04-17 15:31:22 +00:00
Gert Driesen 51d19a431c * WebHeaderCollection.cs: Fixed binary serialization compatibility with MS.
* WebHeaderCollectionTest.cs: Added tests for binary serialization 
compatibility.

svn path=/trunk/mcs/; revision=71807
2007-01-28 13:16:24 +00:00
Miguel de Icaza 532e97f63f 2007-01-22 Miguel de Icaza <[email protected]>
* WebHeaderCollection.cs: Remove a handful of NotImplementedException's

svn path=/trunk/mcs/; revision=71461
2007-01-22 20:44:22 +00:00
Andrew Skiba d412658c9b add stubs for new 2.0 indexers
svn path=/trunk/mcs/; revision=67924
2006-11-15 14:34:35 +00:00
Gonzalo Paniagua Javier 3e700ee551 2005-11-17 Gonzalo Paniagua Javier <[email protected]>
* HttpListenerPrefixCollection.cs:
	* EndPointListener.cs:
	* HttpStreamAsyncResult.cs:
	* HttpListenerContext.cs:
	* HttpListenerBasicIdentity.cs:
	* AuthenticationSchemeSelector.cs:
	* HttpListener.cs:
	* WebHeaderCollection.cs:
	* ListenerPrefix.cs:
	* HttpListenerException.cs:
	* HttpResponseHeader.cs:
	* EndPointManager.cs:
	* HttpListenerRequest.cs:
	* HttpRequestHeader.cs:
	* BindIPEndPoint.cs:
	* ResponseStream.cs:
	* ChunkedInputStream.cs:
	* HttpStatusCode.cs:
	* ListenerAsyncResult.cs:
	* ChunkStream.cs:
	* HttpConnection.cs:
	* HttpUtility.cs:
	* HttpListenerResponse.cs:
	* RequestStream.cs: initial implementation of HttpListener. There are
	a few TODOs left (cookies, HTTPS) but almost everything else is in.


svn path=/trunk/mcs/; revision=53169
2005-11-17 12:03:25 +00:00
Gonzalo Paniagua Javier 7ce7ccda6c 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
* WebHeaderCollection.cs: added if-modified-since to the list of
	restricted headers.

	* ServicePoint.cs: use a field object when locking.


svn path=/trunk/mcs/; revision=42651
2005-04-07 20:03:43 +00:00
Gonzalo Paniagua Javier 4f2bab519c 2005-03-10 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: moved cookie parsing into its own class.
	* WebHeaderCollection.cs: remove (probably bogus) GetMultipleValues
	call.
	* HttpWebRequest.cs: don't let exception raised in the ctor of
	HttpWebResponse vanish.

	Fixes bug #73275.


svn path=/trunk/mcs/; revision=41670
2005-03-10 23:29:30 +00:00
Gonzalo Paniagua Javier af4f13fae9 2005-03-01 Gonzalo Paniagua Javier <[email protected]>
* WebHeaderCollection.cs: handle commas inside quotes when splitting
	a multi-value header. Fixes bug #73151.


svn path=/trunk/mcs/; revision=41338
2005-03-01 22:32:37 +00:00
Jonathan Pryor 3aded9094a * WebHeaderCollection.cs: Fix GetValues(string) to split the values on
commas if the header is a Multi-Value header.  This matches
    MonoTests.System.Net.WebHeaderCollectionTest.

svn path=/trunk/mcs/; revision=39259
2005-01-20 16:33:51 +00:00
Gonzalo Paniagua Javier 3ca52666c9 2004-10-05 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: use RemoveAndAdd for headers multivalue headers.
	* WebHeaderCollection.cs: added RemoveAndAdd that behaves like the old
	SetInternal.

svn path=/trunk/mcs/; revision=34698
2004-10-05 01:53:40 +00:00
Gonzalo Paniagua Javier 5f80f81cd4 2004-08-11 Gonzalo Paniagua Javier <[email protected]>
* 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
2004-08-11 20:03:15 +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 b24f2374e0 2004-03-24 Gonzalo Paniagua Javier <[email protected]>
* 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).

svn path=/trunk/mcs/; revision=24549
2004-03-24 22:06:56 +00:00
Gonzalo Paniagua Javier 6873f63f25 2003-07-20 Gonzalo Paniagua Javier <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=16441
2003-07-20 11:29:09 +00:00
Gonzalo Paniagua Javier 0067ecca7b 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* WebHeaderCollection.cs: prevent duplication headers used niternally.

svn path=/trunk/mcs/; revision=15505
2003-06-20 11:35:53 +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 a0fa972a36 * HttpWebRequest.cs: properties implemented
* HttpWebResponse.cs: added
	* GlobalProxySelection.cs: implemented

svn path=/trunk/mcs/; revision=4553
2002-05-12 09:09:10 +00:00
Lawrence Pit 21897fd452 WebHeaderCollection implemented
svn path=/trunk/mcs/; revision=4531
2002-05-11 15:30:44 +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