HG: Added HEAD method to Helo service. This is the preferred method, but its wide use will have to wait a few releases. So the sims are still calling GET for now.

This commit is contained in:
Diva Canto
2011-12-04 10:10:09 -08:00
parent 080dfcc9c9
commit a2d98c7293
2 changed files with 35 additions and 1 deletions

View File

@@ -54,6 +54,8 @@ namespace OpenSim.Services.Connectors
public virtual string Helo()
{
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(m_ServerURI + "/helo");
// Eventually we need to switch to HEAD
/* req.Method = "HEAD"; */
try
{