]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
cleanup the error header a bit by moving the printf-macros out
[apt.git] / methods / http.h
index 6753a990122d9ffb556f463157a3a7ba7975ae99..13f02ec77b0b0c3d7560128ed07bd7c938c2ff50 100644 (file)
@@ -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;