2017-03-30 Fred Gleason <fredg@paravelsystems.com>

* Changed the result code of the 'AddCart' service when the cart
	already exists from '403' to '400'.
	* Changed the result code of the 'EditCart' service when attempting
	to set a forced length on a macro cart from '403' to '400'.
	* Changed the result code of the 'EditCart' service when attempting
	to set a forced length outside of the valid range from '403' to '400'.
	* Changed the result code of the 'Export' service when attempting
	to export from a cut with no audio content from '403' to '404'.
	* Changed the '401' result code of the 'EditCart' service to be 403.
	* Changed the '401' result code of the 'DeleteAudio' service to be 403.
	* Changed the '401' result code of the 'Export' service to be 403.
This commit is contained in:
Fred Gleason
2017-03-30 11:38:18 -04:00
parent 36fa10802a
commit 11a6609876
5 changed files with 26 additions and 14 deletions

View File

@@ -189,7 +189,7 @@ void Xport::Export()
break;
case RDAudioConvert::ErrorNoSource:
resp_code=403;
resp_code=404;
break;
case RDAudioConvert::ErrorNoDestination: