X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e8d72d2faa67283a2c7e691c1a7a440c4cdd179f..9fcbe2047293f8ef703439264ed3d35701f51638:/methods/http.h diff --git a/methods/http.h b/methods/http.h index dec5cd80f..bac94e177 100644 --- a/methods/http.h +++ b/methods/http.h @@ -99,6 +99,7 @@ struct ServerState enum {Chunked,Stream,Closes} Encoding; enum {Header, Data} State; bool Persistent; + string Location; // This is a Persistent attribute of the server itself. bool Pipeline; @@ -133,6 +134,7 @@ class HttpMethod : public pkgAcqMethod bool Flush(ServerState *Srv); bool ServerDie(ServerState *Srv); int DealWithHeaders(FetchResult &Res,ServerState *Srv); + bool AutoDetectProxy(); virtual bool Configuration(string Message); @@ -145,6 +147,9 @@ class HttpMethod : public pkgAcqMethod protected: virtual bool Fetch(FetchItem *); + string NextURI; + string AutoDetectProxyCmd; + public: friend class ServerState;