'expects' return value per status code?

Hi everybody,

as I was designing a Hydra spec, I stumbled upon this little issue: I have different expected return values, depending on the status code that is responded.

Has anybody already raised this issue? Would it make sense to change the range of 'hydra:expects' so that it could include both a StatusCodeDescription and a hydra:Class?

Sincerely,
Victor Charpenay

Siemens AG
Corporate Technology
Research and Technology Center
CT RTC NEC ITH-DE
Otto-Hahn-Ring 6
81739 München, Deutschland
mailto:victor.charpenay@siemens.com

Siemens Aktiengesellschaft: Vorsitzender des Aufsichtsrats: Gerhard Cromme; Vorstand: Joe Kaeser, Vorsitzender; Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Siegfried Russwurm, Ralf P. Thomas; Sitz der Gesellschaft: Berlin und München, Deutschland; Registergericht: Berlin Charlottenburg, HRB 12300, München, HRB 6684; WEEE-Reg.-Nr. DE 23691322

Received on Thursday, 17 September 2015 13:37:11 UTC