Bug#712261: uscan: fails with alioth downloads: failed: 406 Not Acceptable [patch]

Dmitry Smirnov onlyjob at debian.org
Sun Jul 7 16:35:18 UTC 2013


Control: found -1 devscripts/2.13.2
Control: tags -1 confirmed patch

Apparently Alioth want "Accept: */*" header which could be trivially
fixed by the following patch:

--- a/usr/bin/uscan
+++ b/tmp/uscan
@@ -691,8 +691,9 @@
 
     # Comma-separated list of features that sites being queried might
     # want to be aware of
     $headers->header('X-uscan-features' => 'enhanced-matching');
+    $headers->header('Accept' => '*/*');
     %dehs_tags = ('package' => $pkg);
 
     if ($watch_version == 1) {
        ($site, $dir, $filepattern, $lastversion, $action) = split ' ', $line, 5;


-- 
Best wishes,
 Dmitry Smirnov
 GPG key : 4096R/53968D1B



More information about the devscripts-devel mailing list