diff options
author | Oz Linden <oz@lindenlab.com> | 2011-04-08 17:34:49 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-04-08 17:34:49 -0400 |
commit | 51b75b883269a0a78a9428a690324c17abf028c1 (patch) | |
tree | 56e131516119cf7c6fef2219ca8b8b454ceab0c0 /indra/llmessage/llurlrequest.cpp | |
parent | c4ec708922ad5d4a5844b90b8042a939a34733ac (diff) | |
parent | df329d14a9b882f1bc9c2c598043569ca2688c03 (diff) |
merge changes for storm-1108
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | indra/llmessage/llurlrequest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index cb9d1c3731..28bd09fc4c 100644 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -440,6 +440,9 @@ bool LLURLRequest::configure() case HTTP_GET: mDetail->mCurlRequest->setopt(CURLOPT_HTTPGET, 1); mDetail->mCurlRequest->setopt(CURLOPT_FOLLOWLOCATION, 1); + + // Set Accept-Encoding to allow response compression + mDetail->mCurlRequest->setoptString(CURLOPT_ENCODING, ""); rv = true; break; @@ -464,6 +467,9 @@ bool LLURLRequest::configure() // Set the handle for an http post mDetail->mCurlRequest->setPost(NULL, bytes); + + // Set Accept-Encoding to allow response compression + mDetail->mCurlRequest->setoptString(CURLOPT_ENCODING, ""); rv = true; break; |