]> git.saurik.com Git - apt.git/blobdiff - methods/http.h
merged from lp:~mvo/apt/mvo
[apt.git] / methods / http.h
index dec5cd80f3105788d01512bcda625ada112a8736..bc076e1f8ae1996dc00d86ffb8302deebd6db60a 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;
@@ -145,6 +146,8 @@ class HttpMethod : public pkgAcqMethod
    protected:
    virtual bool Fetch(FetchItem *);
    
+   string NextURI;
+   
    public:
    friend class ServerState;