[svn-commits] qwell: trunk r393128 - /trunk/res/stasis_http/resource_channels.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Jun 28 10:36:51 CDT 2013
Author: qwell
Date: Fri Jun 28 10:36:49 2013
New Revision: 393128
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393128
Log:
Change some 500 errors to 400.
Modified:
trunk/res/stasis_http/resource_channels.c
Modified: trunk/res/stasis_http/resource_channels.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/stasis_http/resource_channels.c?view=diff&rev=393128&r1=393127&r2=393128
==============================================================================
--- trunk/res/stasis_http/resource_channels.c (original)
+++ trunk/res/stasis_http/resource_channels.c Fri Jun 28 10:36:49 2013
@@ -172,14 +172,14 @@
if (args->skipms < 0) {
stasis_http_response_error(
- response, 500, "Internal Server Error",
+ response, 400, "Bad Request",
"skipms cannot be negative");
return;
}
if (args->offsetms < 0) {
stasis_http_response_error(
- response, 500, "Internal Server Error",
+ response, 400, "Bad Request",
"offsetms cannot be negative");
return;
}
More information about the svn-commits
mailing list