diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2009-02-02 12:14:36 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2009-02-02 12:14:36 +0100 |
commit | ebb461fdf02ee3e038d4b3a4ab1a0a60188edf9a (patch) | |
tree | 2f18a15e77fbb24ddd8328422a6b5ce6b6359e46 /methods/http.h | |
parent | d043faa8dfcfa4c432558f3f1b4ec149e33f9d8e (diff) |
* [ABI break] merge support for http redirects, thanks to
Jeff Licquia and Anthony Towns
* [ABI break] use int for the package IDs (thanks to Steve Cotton)
- Galician updated. Closes: #509151
- Catalan updated. Closes: #509375
- Vietnamese updated. Closes: #509422
- Traditional Chinese added. Closes: #510664
* COPYING:
- Actualized. Removed obsolete Qt section, added GPLv2 clause.
(Closes: #440049, #509337)
* Clarify the --help for 'purge' (LP: #243948)
Diffstat (limited to 'methods/http.h')
-rw-r--r-- | methods/http.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/methods/http.h b/methods/http.h index dec5cd80f..bc076e1f8 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; @@ -145,6 +146,8 @@ class HttpMethod : public pkgAcqMethod protected: virtual bool Fetch(FetchItem *); + string NextURI; + public: friend class ServerState; |