diff options
author | bubulle@debian.org <> | 2007-01-29 08:36:47 +0100 |
---|---|---|
committer | bubulle@debian.org <> | 2007-01-29 08:36:47 +0100 |
commit | cfc181bae09cf2df8bc0802231eaa47f310fc577 (patch) | |
tree | 2fd43ed1ef4fc45a0cfd07e2c844f83224530f56 /methods | |
parent | 480ecc8bfe493a669b5076a350ac0300f04c7b6a (diff) | |
parent | 020daa7b026cf1496959ccc9d062d95cb5f8ec02 (diff) |
Merge with Michael
Remove a non breakable space in the Frenc translation. Closes: #408877
Diffstat (limited to 'methods')
-rw-r--r-- | methods/http.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/http.cc b/methods/http.cc index c6623c46f..06b91686c 100644 --- a/methods/http.cc +++ b/methods/http.cc @@ -44,6 +44,7 @@ // Internet stuff #include <netdb.h> +#include "config.h" #include "connect.h" #include "rfc2553emu.h" #include "http.h" @@ -714,7 +715,7 @@ void HttpMethod::SendReq(FetchItem *Itm,CircleBuf &Out) Req += string("Authorization: Basic ") + Base64Encode(Uri.User + ":" + Uri.Password) + "\r\n"; - Req += "User-Agent: Debian APT-HTTP/1.3\r\n\r\n"; + Req += "User-Agent: Debian APT-HTTP/1.3 ("VERSION")\r\n\r\n"; if (Debug == true) cerr << Req << endl; |