summaryrefslogtreecommitdiff
path: root/src/HttpResponseCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-04-19 17:49:03 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-04-19 17:49:03 +0000
commitb1d46227d4ed9e86952e4d2d6059ecbde2d248e0 (patch)
treeabba06d5ecd01b9210f70130d3a36c8747c36d8f /src/HttpResponseCommand.h
parent1457d7f660ee83fca44730b38a3f2af800684f2a (diff)
make string type argument const string& where possible
Diffstat (limited to 'src/HttpResponseCommand.h')
-rw-r--r--src/HttpResponseCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h
index 2de48586..def4fefe 100644
--- a/src/HttpResponseCommand.h
+++ b/src/HttpResponseCommand.h
@@ -28,10 +28,10 @@
class HttpResponseCommand : public AbstractCommand {
private:
void checkResponse(int status, const Segment& segment);
- bool handleRedirect(string url, const HttpHeader& headers);
+ bool handleRedirect(const string& url, const HttpHeader& headers);
bool handleDefaultEncoding(const HttpHeader& headers);
- bool handleOtherEncoding(string transferEncoding, const HttpHeader& headers);
- void createHttpDownloadCommand(string transferEncoding = "");
+ bool handleOtherEncoding(const string& transferEncoding, const HttpHeader& headers);
+ void createHttpDownloadCommand(const string& transferEncoding = "");
void retrieveCookie(const HttpHeader& headers);
HttpConnection* http;
protected: