feature request: make curl/wget fallback logic more robust
This is the current implementation:
/* is we failed execute curl, then fallback to wget */
if (status == 201)
status = fork_exec(wgetcmd.argv, 1);
While changing the user agent might mitigate most scenarios (e.g. #7), it may be useful to try wget
in circumstances other than a status code of 201
.