Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Accept HTTP header #89

Open
Berbe opened this issue Dec 15, 2022 · 0 comments · May be fixed by #90
Open

Incorrect Accept HTTP header #89

Berbe opened this issue Dec 15, 2022 · 0 comments · May be fixed by #90

Comments

@Berbe
Copy link

Berbe commented Dec 15, 2022

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:

Accept: application/json

Currently, I see 2 ways to solve the problem:

@Berbe Berbe linked a pull request Dec 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant