X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5f3e0a63677aea3c3619b747eaabb42b32d825c2..056539eeb8eb84cea65c0c15466111b978ee156d:/methods/http.h diff --git a/methods/http.h b/methods/http.h index 5eac11401..bc076e1f8 100644 --- a/methods/http.h +++ b/methods/http.h @@ -3,7 +3,7 @@ // $Id: http.h,v 1.12 2002/04/18 05:09:38 jgg Exp $ /* ###################################################################### - HTTP Aquire Method - This is the HTTP aquire method for APT. + HTTP Acquire Method - This is the HTTP aquire method for APT. ##################################################################### */ /*}}}*/ @@ -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; @@ -145,6 +146,8 @@ class HttpMethod : public pkgAcqMethod protected: virtual bool Fetch(FetchItem *); + string NextURI; + public: friend class ServerState; @@ -160,5 +163,4 @@ class HttpMethod : public pkgAcqMethod }; }; - #endif