Re: [OpenSIPS-Devel] [opensips] rest_get doesn't return information about error (#480)

2015-05-05 Thread Liviu Chircu
Looks clean. Closing. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/480#issuecomment-99130126___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] rest_get doesn't return information about error (#480)

2015-05-05 Thread Liviu Chircu
Closed #480. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/480#event-297379819___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

[OpenSIPS-Devel] [opensips] rest_get doesn't return information about error (#480)

2015-04-24 Thread philevans
In the documentation for rest_get in the rest_client module, the example suggests that if an error is returned such as a 403 or a 404, the rest_get call will return false, and you will still have access to the return code and body: # Example of querying a REST service to get the credit of

Re: [OpenSIPS-Devel] [opensips] rest_get doesn't return information about error (#480)

2015-04-24 Thread Jarrod Baumann
@philevans please try this patch #481 --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/480#issuecomment-95969068___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] [opensips] rest_get doesn't return information about error (#480)

2015-04-24 Thread Liviu Chircu
Reviewed the fix. Merged and backported - 1.10. Keeping this open until we confirm everything works ok with the async versions. --- Reply to this email directly or view it on GitHub: