Érico Rolim
9c5443d134
fetch/http: add missing case when treating status code.
...
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
2021-02-04 23:14:34 +01:00
..
2021-02-04 22:42:57 +01:00
2021-02-04 22:42:57 +01:00
2021-02-04 23:14:34 +01:00
2021-02-04 22:42:57 +01:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-02-10 15:03:54 +01:00
2021-02-04 22:41:21 +01:00
2020-04-29 14:12:10 +02:00
2021-02-04 23:09:35 +01:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2021-02-04 23:02:39 +01:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-01-06 15:09:16 +01:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2021-02-04 23:09:35 +01:00
2021-02-04 23:02:39 +01:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2020-04-29 14:12:10 +02:00
2021-02-04 23:02:39 +01:00