summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar samuel.hym+bugs@a85e9c44dc6369ad6b12e8e6a3896ad34f7df4a3 <samuelhymbugs@web>2015-08-15 12:14:48 +0000
committerGravatar admin <admin@branchable.com>2015-08-15 12:14:48 +0000
commit1214d83635924e66a9308e024faac4eaa651ba0a (patch)
tree74718a34f91faf47e282ce1ea35777820aaa3a3a
parentf3badb6237b759fdc01773d6a1a4b6ca4aa204dc (diff)
-rw-r--r--doc/bugs/importfeed_--relaxed_fails_with_HEAD-rejecting_servers.mdwn36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/bugs/importfeed_--relaxed_fails_with_HEAD-rejecting_servers.mdwn b/doc/bugs/importfeed_--relaxed_fails_with_HEAD-rejecting_servers.mdwn
new file mode 100644
index 000000000..6b017bfb7
--- /dev/null
+++ b/doc/bugs/importfeed_--relaxed_fails_with_HEAD-rejecting_servers.mdwn
@@ -0,0 +1,36 @@
+### Please describe the problem.
+
+Calling "git annex importfeed --relaxed" on a url of a BBC podcast
+fails just like a "git annex addurl --fast" (and not relaxed) on the
+url of a show:
+
+addurl open.live.bbc.co.uk_mediaselector_5_redir_version_2.0_mediaset_audio_nondrm_download_proto_http_vpid_p02y8kfc.mp3
+ unable to access url: http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02y8kfc.mp3
+failed
+git-annex: addurl: 1 failed
+
+I suppose that is because HEAD on that same URL returns 403 Forbidden
+(addurl without fast works just fine).
+
+"git annex addurl --relaxed" works on the given url.
+
+
+### What steps will reproduce the problem?
+
+I ran into this bug trying to importfeed various BBC podcasts. For instance:
+
+$ git annex importfeed --relaxed 'http://www.bbc.co.uk/programmes/p02pc9x6/episodes/downloads.rss'
+(checking known urls...)
+importfeed http://www.bbc.co.uk/programmes/p02pc9x6/episodes/downloads.rss
+/tmp/feed3947 100%[=======================================================>] 8,39K --.-KB/s en 0,007s
+addurl Comedy_of_the_Week/In_and_Out_of_the_Kitchen__Episode_1__The_Supplement.mp3
+ unable to access url: http://open.live.bbc.co.uk/mediaselector/5/redir/version/2.0/mediaset/audio-nondrm-download/proto/http/vpid/p02yy1hn.mp3
+failed
+
+ warning: problem downloading item
+ok
+
+
+### What version of git-annex are you using? On what operating system?
+
+git-annex version: 5.20150731-1 on a quite up-to-date debian unstable.