diff options
author | Don Kjer <don@lindenlab.com> | 2013-04-04 21:50:45 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2013-04-04 21:50:45 +0000 |
commit | beeefb45269f45ea717f58b30a0985951ae23c20 (patch) | |
tree | 34f48c7703588b64bb625984f77a74752997099f /indra/newview/llfloaterurlentry.cpp | |
parent | 7c37af37d4459425b3ab705156eeff316531bc81 (diff) |
Renaming HTTP_HEADER_* into HTTP_IN_HEADER_* and HTTP_OUT_HEADER_* to make it more clear which header strings should be used for incoming vs outgoing situations.
Using constants for commonly used llhttpnode context strings.
Diffstat (limited to 'indra/newview/llfloaterurlentry.cpp')
-rw-r--r-- | indra/newview/llfloaterurlentry.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloaterurlentry.cpp b/indra/newview/llfloaterurlentry.cpp index 0751c830d5..e26f1e9ea5 100644 --- a/indra/newview/llfloaterurlentry.cpp +++ b/indra/newview/llfloaterurlentry.cpp @@ -59,8 +59,7 @@ public: private: /* virtual */ void httpCompleted() { - const bool check_lower = true; - const std::string& media_type = getResponseHeader(HTTP_HEADER_CONTENT_TYPE, check_lower); + const std::string& media_type = getResponseHeader(HTTP_IN_HEADER_CONTENT_TYPE); std::string::size_type idx1 = media_type.find_first_of(";"); std::string mime_type = media_type.substr(0, idx1); |