[OpenSIPS-Devel] [opensips] rest_get doesn't return information about error (#480)
Jarrod Baumann
notifications at github.com
Fri Apr 24 18:24:00 CEST 2015
I was able to verify the `async(rest_client(...), resume)` returns `$var(rcode)` of 404 with the following route:
```
route [resume] {
if ($rc < 0) {
xlog("Error code $var(rcode) in HTTP GET!\n");
send_reply("403", "GET Forbidden");
exit;
}
}
```
```
Apr 24 16:20:18 localhost opensips[2141]: Error code 404 in HTTP GET!
```
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/480#issuecomment-95984678
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150424/71f259f4/attachment.htm>
More information about the Devel
mailing list