diff options
author | Mic Bowman | 2012-08-29 14:56:51 -0700 |
---|---|---|
committer | Mic Bowman | 2012-08-29 14:56:51 -0700 |
commit | 3d736d575ff9670ac813f13eb1cff07dea10328b (patch) | |
tree | be3458150faf0a738c2e14814b2ff3992e4b4d5a /OpenSim/Region/Framework | |
parent | implementing rule tracking (diff) | |
download | opensim-SC-3d736d575ff9670ac813f13eb1cff07dea10328b.zip opensim-SC-3d736d575ff9670ac813f13eb1cff07dea10328b.tar.gz opensim-SC-3d736d575ff9670ac813f13eb1cff07dea10328b.tar.bz2 opensim-SC-3d736d575ff9670ac813f13eb1cff07dea10328b.tar.xz |
This partially implements the LSL function to set the response
type for an HTTP request. Since the "official" LSL function limits
the use of the response type, it is implemented as osSetContentType
with a string for the content mime type and a threat level of high.
With this function you should be able to implement rather functional
media-on-a-prim application with much less difficulty.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IUrlModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IUrlModule.cs b/OpenSim/Region/Framework/Interfaces/IUrlModule.cs index 457444c..79e9f9d 100644 --- a/OpenSim/Region/Framework/Interfaces/IUrlModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IUrlModule.cs | |||
@@ -39,6 +39,8 @@ namespace OpenSim.Region.Framework.Interfaces | |||
39 | UUID RequestSecureURL(IScriptModule engine, SceneObjectPart host, UUID itemID); | 39 | UUID RequestSecureURL(IScriptModule engine, SceneObjectPart host, UUID itemID); |
40 | void ReleaseURL(string url); | 40 | void ReleaseURL(string url); |
41 | void HttpResponse(UUID request, int status, string body); | 41 | void HttpResponse(UUID request, int status, string body); |
42 | void HttpContentType(UUID request, string type); | ||
43 | |||
42 | string GetHttpHeader(UUID request, string header); | 44 | string GetHttpHeader(UUID request, string header); |
43 | int GetFreeUrls(); | 45 | int GetFreeUrls(); |
44 | 46 | ||