-
Notifications
You must be signed in to change notification settings - Fork 76
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
ApiListener: Produces=Detect does not set appropriate content-type : application/json header (7.8.1) #5232
Comments
When using the json flow, do you see something in the logging that it cannot compute the content-type? |
Hmm deze fout in ieder geval bij het ontvangen van de GET.. (ja timestamps zijn anders, zat wat te kutten met github..)
Echter geen fouten bij het geven van het response.. zie ook nergens debug logging voorbij komen over welke values hij nu kiest... |
Implementing #4420 wont solve this issue because you would still need a way to differentiate between the two mimetypes. |
❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
We have an adapter which produces either JSON or a PDF.
When using
skipValidation="true"
on the Exit related to the happy flow and PDF output and noproduces
attribute on theApiListener
, this will result in the following:*/*
When using
produces="JSON"
in this situation causes the following:When using
produces="DETECT"
:Expected behaviour:
I believe that this could all be prevented if #4420 was implemented and
produces="PDF, JSON"
could be used...Besides that, DETECT should properly detect when the output is JSON.
Reporter
Laurens
The text was updated successfully, but these errors were encountered: