diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-02-18 06:11:20 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2006-02-18 06:11:20 +0000 |
| commit | a64eea14ada3d0a19f1ea9226efddd061a114be2 (patch) | |
| tree | d74fccfc1dbafa6446e79d79365313e5bc2867de /src/HttpConnection.cc | |
| parent | 5333c2d58fe403f57a498e5499a11574e3d611fe (diff) | |
Diffstat (limited to 'src/HttpConnection.cc')
| -rw-r--r-- | src/HttpConnection.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/HttpConnection.cc b/src/HttpConnection.cc index 0d859d4e..2ee040a1 100644 --- a/src/HttpConnection.cc +++ b/src/HttpConnection.cc @@ -53,6 +53,7 @@ string HttpConnection::getHost(const string& host, int port) { string HttpConnection::createRequest(const Request* req, const Segment& segment) { string request = string("GET ")+ + // some servers cannot permit absolute URI as requet URI. //req->getCurrentUrl()+ (req->getDir() == "/" ? "/" : req->getDir()+"/")+req->getFile()+ string(" HTTP/1.1\r\n")+ |
