]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
* debian/apt.postinst:
[apt.git] / methods / http.h
index 13f02ec77b0b0c3d7560128ed07bd7c938c2ff50..bac94e177d2822b4455e8f4361d84e6e219acbfd 100644 (file)
@@ -13,7 +13,7 @@
 
 #define MAXLEN 360
 
-#include <iostream>
+
 
 using std::cout;
 using std::endl;
@@ -134,8 +134,8 @@ class HttpMethod : public pkgAcqMethod
    bool Flush(ServerState *Srv);
    bool ServerDie(ServerState *Srv);
    int DealWithHeaders(FetchResult &Res,ServerState *Srv);
+   bool AutoDetectProxy();
 
-   virtual bool Fetch(FetchItem *);
    virtual bool Configuration(string Message);
    
    // In the event of a fatal signal this file will be closed and timestamped.
@@ -143,8 +143,12 @@ class HttpMethod : public pkgAcqMethod
    static int FailFd;
    static time_t FailTime;
    static void SigTerm(int);
+
+   protected:
+   virtual bool Fetch(FetchItem *);
    
    string NextURI;
+   string AutoDetectProxyCmd;
    
    public:
    friend class ServerState;