summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpresponse.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcorehttp/httpresponse.h')
-rw-r--r--indra/llcorehttp/httpresponse.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/llcorehttp/httpresponse.h b/indra/llcorehttp/httpresponse.h
index 3d35050c17..4a481db6ac 100644
--- a/indra/llcorehttp/httpresponse.h
+++ b/indra/llcorehttp/httpresponse.h
@@ -134,16 +134,14 @@ public:
}
///
- void getContent(std::string & con_type, std::string & con_encode) const
+ const std::string & getContentType() const
{
- con_type = mContentType;
- con_encode = mContentEncoding;
+ return mContentType;
}
- void setContent(const std::string & con_type, const std::string & con_encode)
+ void setContentType(const std::string & con_type)
{
mContentType = con_type;
- mContentEncoding = con_encode;
}
protected:
@@ -155,7 +153,6 @@ protected:
BufferArray * mBufferArray;
HttpHeaders * mHeaders;
std::string mContentType;
- std::string mContentEncoding;
};