diff options
author | Teravus Ovares (Dan Olivares) | 2009-08-18 11:09:43 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-08-18 11:09:43 -0400 |
commit | 311b51a1843f43daa7796a46961b65fe702e1b85 (patch) | |
tree | 756554b330c8bdd970f319c3af0327efb9017673 /OpenSim/Framework/Servers/HttpServer | |
parent | * Some Physics Scene Changes to prepare for larger regions (diff) | |
parent | Fixes mantis #4020 (http://opensimulator.org/mantis/view.php?id=4020) (diff) | |
download | opensim-SC_OLD-311b51a1843f43daa7796a46961b65fe702e1b85.zip opensim-SC_OLD-311b51a1843f43daa7796a46961b65fe702e1b85.tar.gz opensim-SC_OLD-311b51a1843f43daa7796a46961b65fe702e1b85.tar.bz2 opensim-SC_OLD-311b51a1843f43daa7796a46961b65fe702e1b85.tar.xz |
*remove conflicts
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs b/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs index 6214563..c53160f 100644 --- a/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs +++ b/OpenSim/Framework/Servers/HttpServer/OSHttpRequest.cs | |||
@@ -33,6 +33,7 @@ using System.IO; | |||
33 | using System.Net; | 33 | using System.Net; |
34 | using System.Reflection; | 34 | using System.Reflection; |
35 | using System.Text; | 35 | using System.Text; |
36 | using System.Web; | ||
36 | using HttpServer; | 37 | using HttpServer; |
37 | using log4net; | 38 | using log4net; |
38 | 39 | ||
@@ -72,6 +73,18 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
72 | } | 73 | } |
73 | private string _contentType; | 74 | private string _contentType; |
74 | 75 | ||
76 | public HttpCookieCollection Cookies | ||
77 | { | ||
78 | get | ||
79 | { | ||
80 | RequestCookies cookies = _request.Cookies; | ||
81 | HttpCookieCollection httpCookies = new HttpCookieCollection(); | ||
82 | foreach (RequestCookie cookie in cookies) | ||
83 | httpCookies.Add(new HttpCookie(cookie.Name, cookie.Value)); | ||
84 | return httpCookies; | ||
85 | } | ||
86 | } | ||
87 | |||
75 | public bool HasEntityBody | 88 | public bool HasEntityBody |
76 | { | 89 | { |
77 | get { return _request.ContentLength != 0; } | 90 | get { return _request.ContentLength != 0; } |