summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-06-09 12:08:54 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-06-09 12:08:54 +0200
commite7aea3985734af1702fde6e2b0af90b992425334 (patch)
tree530e06b10af52c72585c66403f6016d0609996fa /apt-pkg/acquire-item.cc
parent23c5897cbdb5a957788201a5178e963586dcdbc9 (diff)
parent2ac9b90b7b3ebeea9a2580b6f317f1dfefc8c8fe (diff)
merge lp:~mvo/apt/ubuntu-mirror-method-improvements
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index bb8a01db8..8973eedde 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -830,6 +830,13 @@ pkgAcqIndexTrans::pkgAcqIndexTrans(pkgAcquire *Owner,
{
}
/*}}}*/
+// AcqIndexTrans::Custom600Headers - Insert custom request headers /*{{{*/
+// ---------------------------------------------------------------------
+string pkgAcqIndexTrans::Custom600Headers()
+{
+ return "\nFail-Ignore: true";
+}
+ /*}}}*/
// AcqIndexTrans::Failed - Silence failure messages for missing files /*{{{*/
// ---------------------------------------------------------------------
/* */