http cookies are gone

This commit is contained in:
UbitUmarov
2022-10-02 11:40:29 +01:00
parent 6ff8ecaae0
commit 2112665133
3 changed files with 2 additions and 16 deletions

View File

@@ -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; }