* src/HttpRequest.cc (createRequest): Fixed the bug that user-agent is URL-encoded.
@@ -1,3 +1,8 @@
+2007-10-06 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
+
+ * src/HttpRequest.cc (createRequest):
+ Fixed the bug that user-agent is URL-encoded.
2007-09-15 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed: control file cannot be saved in the second attempt because of
@@ -83,7 +83,7 @@ string HttpRequest::createRequest() const
}
requestLine +=
string(" HTTP/1.1\r\n")+
- "User-Agent: "+Util::urlencode(userAgent)+"\r\n"+
+ "User-Agent: "+userAgent+"\r\n"+
"Accept: */*\r\n"+ /* */
"Host: "+getHostText(getHost(), getPort())+"\r\n"+
"Pragma: no-cache\r\n"+