summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-07-12 16:30:36 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-07-12 16:41:45 -0400
commit709a62db222334a7de85261f78271e2f55de9cce (patch)
treee71c5b751437901e71cdb10b8faa4194317d01b8 /doc
parentdac4d4b9803cba2cf52746382f956c4107d1454c (diff)
Support checking presence of content at a http url that redirects to a ftp url.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp.mdwn2
-rw-r--r--doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp/comment_1_b16b58ac5180be6c7f61a1cf8de55663._comment13
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp.mdwn b/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp.mdwn
index d25f01624..9ecab381f 100644
--- a/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp.mdwn
+++ b/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp.mdwn
@@ -127,3 +127,5 @@ Logging in as anonymous ...
"""]]
[[!meta author=yoh]]
+
+> [[fixed|done]] --[[Joey]]
diff --git a/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp/comment_1_b16b58ac5180be6c7f61a1cf8de55663._comment b/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp/comment_1_b16b58ac5180be6c7f61a1cf8de55663._comment
new file mode 100644
index 000000000..54a670b99
--- /dev/null
+++ b/doc/bugs/annex_drop_fails_to_determine_availability_on_a_http_url_redirecting_to_ftp/comment_1_b16b58ac5180be6c7f61a1cf8de55663._comment
@@ -0,0 +1,13 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2016-07-12T20:00:49Z"
+ content="""
+This only affects http to ftp redirects, because there's a special hack
+in place to use curl to check if a ftp url exists.
+
+Seems that http-conduit throws a StatusCodeException with statusCode = 302
+when it is redirected to a protocol that it does not support, such as ftp.
+
+So, it can catch that exception and fall back to curl.
+"""]]