// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: ftp.cc,v 1.22 2001/02/23 05:45:27 jgg Exp $
+// $Id: ftp.cc,v 1.23 2001/02/23 07:19:49 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the FTP aquire method for APT.
// Setup the variables needed for authentication
string User = "anonymous";
- string Pass = "apt_get_ftp_2.0@debian.linux.user";
+ string Pass = "apt_get_ftp_2.1@debian.linux.user";
// Fill in the user/pass
if (ServerName.User.empty() == false)
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: http.cc,v 1.48 2001/02/23 05:45:27 jgg Exp $
+// $Id: http.cc,v 1.49 2001/02/23 07:19:49 jgg Exp $
/* ######################################################################
HTTP Aquire Method - This is the HTTP aquire method for APT.
Req += string("Authorization: Basic ") +
Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n";
- Req += "User-Agent: Debian APT-HTTP/1.2\r\n\r\n";
+ Req += "User-Agent: Debian APT-HTTP/1.3\r\n\r\n";
if (Debug == true)
cerr << Req << endl;