diff options
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs index ea506c8..622780a 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs | |||
@@ -327,7 +327,7 @@ namespace OpenSim.Services.Connectors | |||
327 | bool success = false; | 327 | bool success = false; |
328 | try | 328 | try |
329 | { | 329 | { |
330 | AssetBase a = SynchronousRestObjectRequester.MakeRequest<int, AssetBase>("GET", uri, 0, 30000); | 330 | AssetBase a = SynchronousRestObjectRequester.MakeRequest<int, AssetBase>("GET", uri, 0, 30000, m_Auth); |
331 | if (a != null) | 331 | if (a != null) |
332 | { | 332 | { |
333 | if (m_Cache != null) | 333 | if (m_Cache != null) |
@@ -486,7 +486,7 @@ namespace OpenSim.Services.Connectors | |||
486 | try | 486 | try |
487 | { | 487 | { |
488 | newID = SynchronousRestObjectRequester. | 488 | newID = SynchronousRestObjectRequester. |
489 | MakeRequest<AssetBase, string>("POST", uri, asset, 100000); | 489 | MakeRequest<AssetBase, string>("POST", uri, asset, 100000, m_Auth); |
490 | if (newID == null || newID == "") | 490 | if (newID == null || newID == "") |
491 | { | 491 | { |
492 | newID = UUID.Zero.ToString(); | 492 | newID = UUID.Zero.ToString(); |