summaryrefslogtreecommitdiff
path: root/indra/llmessage/llavatarnamecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage/llavatarnamecache.cpp')
-rw-r--r--indra/llmessage/llavatarnamecache.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp
index 1d01b69969..e0b71acbd5 100644
--- a/indra/llmessage/llavatarnamecache.cpp
+++ b/indra/llmessage/llavatarnamecache.cpp
@@ -711,13 +711,9 @@ bool LLAvatarNameCache::expirationFromCacheControl(const LLSD& headers, F64 *exp
// Allow the header to override the default
std::string cache_control;
- if (headers.has(HTTP_HEADER_CACHE_CONTROL))
+ if (headers.has(HTTP_IN_HEADER_CACHE_CONTROL))
{
- cache_control = headers[HTTP_HEADER_CACHE_CONTROL].asString();
- }
- else if (headers.has(HTTP_HEADER_LOWER_CACHE_CONTROL))
- {
- cache_control = headers[HTTP_HEADER_LOWER_CACHE_CONTROL].asString();
+ cache_control = headers[HTTP_IN_HEADER_CACHE_CONTROL].asString();
}
if (!cache_control.empty())