diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-07 18:45:29 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-08-07 18:45:29 +0900 |
| commit | e9d16306df008a8e2d04a53ddef996a6829708ce (patch) | |
| tree | 2ba9321482bb14aa08a56b34d9744272e3d264b9 /src/HttpResponse.h | |
| parent | 272d81b7a1e6c96b4929a6c63dd20e3cd1eb3e15 (diff) | |
Made getRedirectURI and getTransferEncoding return const reference.
Made getRedirectURI and getTransferEncoding in HttpResponse return
const reference.
Diffstat (limited to 'src/HttpResponse.h')
| -rw-r--r-- | src/HttpResponse.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpResponse.h b/src/HttpResponse.h index 2a28916c..0b379f75 100644 --- a/src/HttpResponse.h +++ b/src/HttpResponse.h @@ -82,11 +82,11 @@ public: void processRedirect(); - std::string getRedirectURI() const; + const std::string& getRedirectURI() const; bool isTransferEncodingSpecified() const; - std::string getTransferEncoding() const; + const std::string& getTransferEncoding() const; SharedHandle<StreamFilter> getTransferEncodingStreamFilter() const; |
