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

Allow multiple returned content types from one renderer #1275

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Sep 19, 2024

  1. feat: support dynamic response content types

    Switch these off of the accept header within a request. This allows
    users to dynamically render a response based on the clients passed
    value, with a fallback to whatever media type is specified by default.
    The list is implicitly ordered by priority. I don't love that it's a
    nested loop, however, I think that it should be fine, for relatively
    few content types.
    bradykieffer committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    d0505d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    799e501 View commit details
    Browse the repository at this point in the history