From fed4463cb90efc29525128db21a16899b63fbcc0 Mon Sep 17 00:00:00 2001
From: Rider Linden <rider@lindenlab.com>
Date: Wed, 8 Jul 2015 14:02:12 -0700
Subject: [PATCH] This should be semantically the same thing that was there.

---
 indra/llmessage/llcorehttputil.h | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/indra/llmessage/llcorehttputil.h b/indra/llmessage/llcorehttputil.h
index 4fada926664..3dd13d0a0cd 100644
--- a/indra/llmessage/llcorehttputil.h
+++ b/indra/llmessage/llcorehttputil.h
@@ -135,8 +135,11 @@ inline LLCore::HttpHandle requestPostWithLLSD(LLCore::HttpRequest::ptr_t & reque
     const LLSD & body,
     LLCore::HttpHandler * handler)
 {
+    LLCore::HttpOptions::ptr_t options;
+    LLCore::HttpHeaders::ptr_t headers;
+
     return requestPostWithLLSD(request.get(), policy_id, priority,
-        url, body, LLCore::HttpOptions::ptr_t(), LLCore::HttpHeaders::ptr_t(), handler);
+        url, body, options, headers, handler);
 }
 
 
@@ -185,8 +188,11 @@ inline LLCore::HttpHandle requestPutWithLLSD(LLCore::HttpRequest::ptr_t & reques
     const LLSD & body,
     LLCore::HttpHandler * handler)
 {
+    LLCore::HttpOptions::ptr_t options;
+    LLCore::HttpHeaders::ptr_t headers;
+
     return requestPutWithLLSD(request.get(), policy_id, priority,
-        url, body, LLCore::HttpOptions::ptr_t(), LLCore::HttpHeaders::ptr_t(), handler);
+        url, body, options, headers, handler);
 }
 
 /// Issue a standard HttpRequest::requestPatch() call but using
@@ -234,8 +240,11 @@ inline LLCore::HttpHandle requestPatchWithLLSD(LLCore::HttpRequest::ptr_t & requ
     const LLSD & body,
     LLCore::HttpHandler * handler)
 {
+    LLCore::HttpOptions::ptr_t options;
+    LLCore::HttpHeaders::ptr_t headers;
+
     return requestPatchWithLLSD(request.get(), policy_id, priority,
-        url, body, LLCore::HttpOptions::ptr_t(), LLCore::HttpHeaders::ptr_t(), handler);
+        url, body, options, headers, handler);
 }
 
 //=========================================================================
-- 
GitLab