]> git.saurik.com Git - apt.git/blobdiff - methods/server.h
use the same redirection handling for http and https
[apt.git] / methods / server.h
index b23b0e50ae737969a250afce0ffaa74535eff09d..f2868c96a533992da004efe996ffb8d05ac3b9e3 100644 (file)
@@ -141,7 +141,7 @@ class ServerMethod : public aptMethod
       TRY_AGAIN_OR_REDIRECT
    };
    /** \brief Handle the retrieved header data */
-   DealWithHeadersResult DealWithHeaders(FetchResult &Res);
+   virtual DealWithHeadersResult DealWithHeaders(FetchResult &Res);
 
    // In the event of a fatal signal this file will be closed and timestamped.
    static std::string FailFile;