diff options
author | Marck | 2010-11-01 13:52:39 +0100 |
---|---|---|
committer | Diva Canto | 2010-11-02 14:12:25 -0700 |
commit | 4fdab71c8d05249778a567349fc3340be3841c43 (patch) | |
tree | 8e08ed51ba41c576dd3349e3d2a04d8202bdac44 /OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs | |
parent | Support for CORS with simple requests in BaseHttpServer (diff) | |
download | opensim-SC_OLD-4fdab71c8d05249778a567349fc3340be3841c43.zip opensim-SC_OLD-4fdab71c8d05249778a567349fc3340be3841c43.tar.gz opensim-SC_OLD-4fdab71c8d05249778a567349fc3340be3841c43.tar.bz2 opensim-SC_OLD-4fdab71c8d05249778a567349fc3340be3841c43.tar.xz |
Add support for cross-domain AJAX requests to REST console.
Enables RemoteConsole to add the appropriate HTTP header when responding to requests that use Cross-Origin Resource Sharing (CORS with simple requests). The allowed origin is set with configuration option "ConsoleAllowedOrigin" in section [Network]. For a suggestion to make this configuration option more flexible, see the TODO comment in the source code.
The WifiConsole uses this functionality with grid mode.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/OSHttpRequestPump.cs')
0 files changed, 0 insertions, 0 deletions