diff options
Diffstat (limited to 'libfetch/http.c')
-rw-r--r-- | libfetch/http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libfetch/http.c b/libfetch/http.c index abc3ae6..2f80240 100644 --- a/libfetch/http.c +++ b/libfetch/http.c @@ -1061,6 +1061,8 @@ http_request(struct url *URL, const char *op, struct url_stat *us, } new->offset = url->offset; new->length = url->length; + if (fetchRedirectMethod) + fetchRedirectMethod(conn->err, url, new); break; case hdr_transfer_encoding: /* XXX weak test*/ |