The current Accept HTTP header used by Cloudflow is incorrect:
Accept: application/json, text/plain, */*
While RedHat/OpenStack do not seem to have advertised the change (from what I found/read), the default Content-Type for the /v2/executions Mistral REST API has switched from application/json to application/xml between v7 (Rocky) & v15 (Zed); no idea on exactly when.
While the seemingly undocumented change from Mistral would be problematic, the Accept header from Cloudflow remains the main struggle here, as Cloudflow does not actually support anything other than application/json.
The required fox would be to switch to:
Currently, I see 2 ways to solve the problem:
The current
AcceptHTTP header used by Cloudflow is incorrect:While RedHat/OpenStack do not seem to have advertised the change (from what I found/read), the default
Content-Typefor the/v2/executionsMistral REST API has switched fromapplication/jsontoapplication/xmlbetween v7 (Rocky) & v15 (Zed); no idea on exactly when.While the seemingly undocumented change from Mistral would be problematic, the
Acceptheader from Cloudflow remains the main struggle here, as Cloudflow does not actually support anything other thanapplication/json.The required fox would be to switch to:
Currently, I see 2 ways to solve the problem:
angular/commonfixing the way it handlesAcceptdepending on the expected output format; cf. HTTP Accept header incorrect when requiring JSON response angular/angular#48505AcceptHTTP header in theheadersparameter of theHttpClientcall; cf currentmastercode section.