Also compress the actual fatpacks

This commit is contained in:
Melanie
2011-05-08 23:23:33 +02:00
parent 784e8afaa8
commit ade09d0fa1
4 changed files with 182 additions and 95 deletions

View File

@@ -141,6 +141,11 @@ namespace OpenSim.Framework
/// PUT JSON-encoded data to a web service that returns LLSD or
/// JSON data
/// </summary>
public static OSDMap PutToServiceCompressed(string url, OSDMap data, int timeout)
{
return ServiceOSDRequest(url,data, "PUT", timeout, true);
}
public static OSDMap PutToService(string url, OSDMap data, int timeout)
{
return ServiceOSDRequest(url,data, "PUT", timeout, false);