summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpresponse.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2017-08-08 09:04:32 -0700
committerRider Linden <rider@lindenlab.com>2017-08-08 09:04:32 -0700
commit1038633526330cf931ba097dbafdd270b5bb56e3 (patch)
treebf5b1a2517d31d1ed3daa9213104b36b6901f99c /indra/llcorehttp/httpresponse.h
parent57d5744f2c064ccb7bf8dd3dca2a24f6755297ac (diff)
MAINT-7634: Logging and instrumentation canges to narrow down viewer crashes.
Diffstat (limited to 'indra/llcorehttp/httpresponse.h')
-rw-r--r--indra/llcorehttp/httpresponse.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llcorehttp/httpresponse.h b/indra/llcorehttp/httpresponse.h
index 0bfa4585c7..b834085e5c 100644
--- a/indra/llcorehttp/httpresponse.h
+++ b/indra/llcorehttp/httpresponse.h
@@ -204,6 +204,15 @@ public:
return mRequestUrl;
}
+ void setRequestMethod(const std::string &method)
+ {
+ mRequestMethod = method;
+ }
+
+ const std::string &getRequestMethod() const
+ {
+ return mRequestMethod;
+ }
protected:
// Response data here
@@ -217,6 +226,7 @@ protected:
unsigned int mRetries;
unsigned int m503Retries;
std::string mRequestUrl;
+ std::string mRequestMethod;
TransferStats::ptr_t mStats;
};