Branch: Tag:

2018-04-05

2018-04-05 13:07:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

WebDAV: Survive internal request returning zero.

Work-around for [WS-247].

501:    res = ([ "file":res, "type":tmp[0], "encoding":tmp[1] ]);    else    res = (["file": res]); +  } else if (!res) { +  res = Roxen.http_status(404, "File not found.");    }    response_headers = sub_id->make_response_headers (res);    destruct (sub_id);