HttpWebRequest Support in Web Player Builds

So, I created a little mini-project to test using an HttpWebRequest object to make Facebook Graph calls on each of the Unity target platforms. I did this successfully on the following platforms: Editor, OSX Desktop, Windows Desktop, iOS.

However, I ran into a problem when trying a Web Player build. I got the follow exception when I tired to call HttpWebRequest.Create().
System.NotSupportedException: http://graph.facebook.com/4?fields=cover at System.Net.WebRequest.GetCreator (System.String prefix) [0x00000] in :0 at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] in :0 at System.Net.WebRequest.Create (System.String requestUriString) [0x00000] in :0 at GraphProof.ExecuteHttpWeb ()[0x00000] in :0

According to Unity Documentation at http://docs.unity3d.com/Documentation/ScriptReference/MonoCompatibility.html HttpWebRequest should function in the Web Player. Here is a screen capture of the line in question on the MonoCompatibility page: http://s8.postimage.org/yw3tlqitx/Http_Web_Request_compatibility.png.

Is the documentation in error, or could I be doing something wrong (keeping in mind that it worked fine on every other platform I tried).

Also, not looking for anyone to point me to alternatives, I’m aware of things like the WWW class and UniWeb. The targeting of HttpWebRequest is intentional :).

I have verified that the exact line throwing the “NotSupportedException” is the HttpWebRequest.Create call. Since even creating an instance of the class is not possible it would appear that this is a case of complete non-functionality, and not simply some sub-set or odd use case of HttpWebRequest not working.

HttpWebRequest will probably never work in the web player, due to unexplained security issues. It probably requires some part of .NET which is not allowed on the web player.

That’s pretty much the main reason that UniWeb was written.