X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1631453861ac907938a084f3070a274c281d852a..963b16dcebba149ae2c35bd255b34242923fbea0:/methods/http.h?ds=sidebyside 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;