You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The endpoint should respect content MIME type and request Accept header. Content-Type: application/json should be Content-Type: application/x-yaml, text/yaml or text/plain depending on request's Accept header. See https://tools.ietf.org/html/rfc7231#section-5.3.2 for details.
ACTUAL RESULTS
The endpoint always return Content-Type: application/json no matter what MIME type the particular content has.
The text was updated successfully, but these errors were encountered:
SUMMARY
/action/views/entry_point
endpoint returns wrong content-typeISSUE TYPE
STACKSTORM VERSION
root@c4651da9d7f6:/# st2 --version
st2 2.8.0, on Python 2.7.6
OS / ENVIRONMENT / INSTALL METHOD
st2-docker
STEPS TO REPRODUCE
EXPECTED RESULTS
The endpoint should respect content MIME type and request
Accept
header.Content-Type: application/json
should beContent-Type: application/x-yaml
,text/yaml
ortext/plain
depending on request'sAccept
header. See https://tools.ietf.org/html/rfc7231#section-5.3.2 for details.ACTUAL RESULTS
The endpoint always return
Content-Type: application/json
no matter what MIME type the particular content has.The text was updated successfully, but these errors were encountered: