summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-01-30 20:55:20 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-01-30 20:55:20 +0100
commit15d7e51550327bf49b95372f84bd0de4e896e7d7 (patch)
tree06e4ff4732fd8984da57a95c324f5109e47eb73d /methods/http.h
parentf814fbf4f2c78e3b9ceeeaba3cb93ed0ebbc7943 (diff)
[ABI break] merge support for http redirects, thanks to
Jeff Licquia and Anthony Towns
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h3
1 files changed, 3 insertions, 0 deletions
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;