mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
http cookies are gone
This commit is contained in:
@@ -73,21 +73,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
}
|
||||
private string m_contentType;
|
||||
|
||||
public HttpCookieCollection Cookies
|
||||
{
|
||||
get
|
||||
{
|
||||
RequestCookies cookies = m_request.Cookies;
|
||||
HttpCookieCollection httpCookies = new HttpCookieCollection();
|
||||
if(cookies != null)
|
||||
{
|
||||
foreach (RequestCookie cookie in cookies)
|
||||
httpCookies.Add(new HttpCookie(cookie.Name, cookie.Value));
|
||||
}
|
||||
return httpCookies;
|
||||
}
|
||||
}
|
||||
|
||||
public bool HasEntityBody
|
||||
{
|
||||
get { return m_request.ContentLength != 0; }
|
||||
|
||||
Reference in New Issue
Block a user