Bug 12546 - System.Net.Http.WebRequestHandler missing (.net 4.5)
Summary: System.Net.Http.WebRequestHandler missing (.net 4.5)
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: System ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Martin Baulig
URL:
Depends on:
Blocks:
 
Reported: 2013-06-04 17:12 UTC by Curtis Wensley
Modified: 2013-06-26 06:19 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Curtis Wensley 2013-06-04 17:12:12 UTC
The .net 4.5 System.Net.Http.WebRequestHandler (found in System.Net.Http.WebRequest.dll) is not implemented in mono.

See: http://msdn.microsoft.com/en-us/library/system.net.http.webrequesthandler.aspx

This is needed to support .net 4.5 signalr in mono.
Comment 1 Miguel de Icaza [MSFT] 2013-06-20 20:45:56 UTC
WebRequestHandler exposes more features from the underlying HttpWebRequest than its base class, details here:

http://blogs.msdn.com/b/henrikn/archive/2012/08/07/httpclient-httpclienthandler-and-httpwebrequesthandler.aspx
Comment 2 Martin Baulig 2013-06-21 07:35:10 UTC
Is there any code that I could test this with?
Comment 3 Martin Baulig 2013-06-24 12:35:53 UTC
First implementation is here:
https://github.com/baulig/mono/commit/3813ebc551efb505866ac1d2116753fd51da9e84

However, this doesn't get us the .NET 4.5 SignalR working because ClientWebSocket is not implemented yet.
Comment 4 Miguel de Icaza [MSFT] 2013-06-25 12:02:53 UTC
Let us land the code, then someone else can work on the ClienWebSocket stack.
Comment 5 Martin Baulig 2013-06-26 06:19:29 UTC
It has already landed.