X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/ae58a98599e912eba6b7d0ece21aaa2d979941df..847d81b8e95610240f782daeaf154df69b3dd80c:/methods/http.h?ds=sidebyside diff --git a/methods/http.h b/methods/http.h index 6753a9901..13f02ec77 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; @@ -143,6 +144,8 @@ class HttpMethod : public pkgAcqMethod static time_t FailTime; static void SigTerm(int); + string NextURI; + public: friend class ServerState;