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
Describe the feature: goss serve can respond to the Accept http header on incoming requests, and choose the Content-Type for the response if possible based on that.
This will allow goss serve more flexibility at run-time; previously, if more than one output format was wanted, one endpoint process+port per output format would need to be set up.
Describe the solution you'd like
(This is a retroactive ticket to collect together the PRs as much as describe the work)
Describe the feature:
goss servecan respond to theAccepthttp header on incoming requests, and choose theContent-Typefor the response if possible based on that.This will allow
goss servemore flexibility at run-time; previously, if more than one output format was wanted, one endpoint process+port per output format would need to be set up.Describe the solution you'd like
(This is a retroactive ticket to collect together the PRs as much as describe the work)
This is the order to merge the PRs in:
(Afterwards, #586, but since #608 adds a new script, I'll fix that up inside that PR once #608 is merged)
Describe alternatives you've considered
Setting up one endpoint per desired goss format.