Commit Graph
24 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 370451c2fe 2008-11-18 Gonzalo Paniagua Javier <[email protected]>
* HttpConnection.cs: remove CWL. When reusing, BeginReadRequest might
	throw if the client closes.
	* HttpListenerResponse.cs: close the connection for 1.0 clients.


svn path=/trunk/mcs/; revision=119225
2008-11-18 21:50:44 +00:00
Gonzalo Paniagua Javier 0e9ed5c489 2008-11-04 Gonzalo Paniagua Javier <[email protected]>
* WebRequest.cs: if the cache level is NoCacheNoStore, don't throw
	when setting the CachePolicy.


svn path=/trunk/mcs/; revision=117945
2008-11-04 22:08:51 +00:00
Marek Safar 225f1c9198 Warnings cleanup
svn path=/trunk/mcs/; revision=111790
2008-08-28 09:12:00 +00:00
Atsushi Eno 526b9e66b9 2007-11-13 Atsushi Enomoto <[email protected]>
* WebRequest.cs : added missing ImpersonationLevel (NIE).
	* SecurityProtocolType.cs : not [Serializable] in 2.0.
	* ServicePoint.cs : no GetHashCode() in 2.0.
	* WebRequestMethods.cs : fixed wrong STOU.
	* FileWebResponse.cs : no Dispose(true) in 2.0 API.


svn path=/trunk/mcs/; revision=89537
2007-11-13 10:06:27 +00:00
Gert Driesen ada0ea84ad Flush local changes.
svn path=/trunk/mcs/; revision=87519
2007-10-15 16:03:54 +00:00
Gert Driesen 397ba132a0 Remove commented code.
svn path=/trunk/mcs/; revision=87518
2007-10-15 15:48:09 +00:00
Gert Driesen b97ac2ba11 * WebRequestTest.cs: Fixed test for serialization ctor to match
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
2007-10-15 15:46:36 +00:00
Gonzalo Paniagua Javier 83729f4d65 2007-10-14 Gonzalo Paniagua Javier <[email protected]>
* WebRequest.cs: DefaultWebProxy allows a null value. Fixes bug #323668.


svn path=/trunk/mcs/; revision=87455
2007-10-14 06:19:30 +00:00
Noam Lampert bb7dfed5ae Remove redundant TARGET_JVMs
svn path=/trunk/mcs/; revision=80795
2007-06-26 16:46:13 +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
Konstantin Triger 7f1f1a0e6d use Invariant culture for string manipulations
svn path=/trunk/mcs/; revision=75436
2007-04-05 13:20:38 +00:00
Konstantin Triger eea91ddf6b TARGET_JVM limitations workarounds
svn path=/trunk/mcs/; revision=68950
2006-12-04 14:20:31 +00:00
Miguel de Icaza 7caa9e18e7 2006-11-27 Miguel de Icaza <[email protected]>
* WebRequest.cs: Instead of throwing NotImplemented exceptions,
	call GetMustImplement, that way we do not need the whitelist, and
	we save a handful of opcodes.

svn path=/trunk/mcs/; revision=68552
2006-11-28 04:14:21 +00:00
Michael Hutchinson d8f7e0066b 2006-11-02 Michael Hutchinson <[email protected]>
* WebRequest.cs: more closely follow MS behaviour: use system settings 
	  unless told otherwise, and respect app.config.


svn path=/trunk/mcs/; revision=67277
2006-11-02 16:25:14 +00:00
Gonzalo Paniagua Javier 4e351d8172 bootstrap fix
svn path=/trunk/mcs/; revision=67247
2006-11-01 21:27:38 +00:00
Gonzalo Paniagua Javier 079c9b0f30 2006-11-01 Michael Hutchinson <[email protected]>
* GlobalProxySelection.cs: Obsolete GlobalProxySelection under 2.0 
	  profile, and move code to new property WebRequest.DefaultWebProxy.
	* WebRequest.cs: Implement new 2.0 property DefaultWebProxy.
	  Add support for config option UseSystemDefault using simplistic
	  implementation of new 2.0 method GetSystemWebProxy ().


svn path=/trunk/mcs/; revision=67243
2006-11-01 20:50:41 +00:00
Atsushi Eno 187a797371 2006-05-09 Atsushi Enomoto <[email protected]>
* WebRequest.cs : if corresponding config section is
	  WebRequestModulesSection then use it.

	* WebRequestModulesSection.cs :
	  don't throw NotImpl in InitializeDefault().
	* WebRequestModuleElement.cs :
	  TypeTypeConverter -> TypeConverter and uncomment it.
	* WebRequestModuleElementCollection.cs :
	  element is WebRequestModuleElement in GetElementKey().

	Similarly no actual config change yet.


svn path=/trunk/mcs/; revision=60456
2006-05-09 17:24:59 +00:00
Sebastien Pouliot 5328aec212 2005-05-19 Sebastien Pouliot <[email protected]>
* WebRequest.cs: Throw NotImplementedException (not NotSupported
	Exception) for stuff that should have been abstract. No exception
	is thrown by the serialization constructor.


svn path=/trunk/mcs/; revision=44753
2005-05-19 15:03:14 +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
Nick Drochak b38d984aac 2003-08-14 Nick Drochak <[email protected]>
* WebRequest.cs: Check lower case string since that is what we will add.

svn path=/trunk/mcs/; revision=17326
2003-08-14 14:11:28 +00:00
Gonzalo Paniagua Javier 1b462e1ef9 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=15644
2003-06-26 02:03:38 +00:00
Gonzalo Paniagua Javier ca0ecfd1a2 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
* list.unix: added files.

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

	* System.Net.Configuration/WebRequestModuleHandler.cs: handles
	system.net/webRequestModules configuration section.

svn path=/trunk/mcs/; revision=15160
2003-06-06 16:15:21 +00:00
Lawrence Pit 3576832989 finished WebRequest.cs
svn path=/trunk/mcs/; revision=4524
2002-05-11 09:33:16 +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