9c5443d134
The HTTP_REDIRECT() macro already included this case, but the switch-case with the return value of http_get_reply(conn) didn't. This made it so that a server returning HTTP_TEMP_REDIRECT (307) would generate a failure, unless libfetch was used in verbose mode, in which case the headers would be parsed (in order to report errors), then the 'Location' header would be found and a new connection would be made. Fixes #348 |
||
---|---|---|
.. | ||
common.c | ||
common.h | ||
errlist.sh | ||
fetch.c | ||
fetch.h | ||
file.c | ||
ftp.c | ||
ftp.errors | ||
http.c | ||
http.errors |