]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
implement Fail-Ignore bool in FetchItem that tells the method that a failure of this...
[apt.git] / apt-pkg / acquire-item.cc
index a959253bc2ca31c84105814d7262e14300af0d99..3cc2c87175bc24da0fd379df0bcca2fa68da4e6f 100644 (file)
@@ -820,6 +820,13 @@ pkgAcqIndexTrans::pkgAcqIndexTrans(pkgAcquire *Owner,
                            string URI,string URIDesc,string ShortDesc) 
   : pkgAcqIndex(Owner, URI, URIDesc, ShortDesc, HashString(), "")
 {
+}
+                                                                       /*}}}*/
+// AcqIndexTrans::Custom600Headers - Insert custom request headers     /*{{{*/
+// ---------------------------------------------------------------------
+string pkgAcqIndexTrans::Custom600Headers()
+{
+   return "\nFail-Ignore: true";
 }
                                                                        /*}}}*/
 // AcqIndexTrans::Failed - Silence failure messages for missing files  /*{{{*/