Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

If a format suffix is present in the path, selecting a different format in the browsable API does not work. #9608

Unanswered
SvenMoenig asked this question in Potential Issue
Discussion options

In the browsable API, if the format is specified via a path-suffix, the dropdown to force a different format does not work, because it only determines the request parameter.

For example, if the path is /endpoint.api?format=csv, the BrowsableAPIRenderer will be selected to render the request.
However, the dropdown through which the user can specify a different format to be used does only replace the csv in the above example.

Ideally both should be overridden, or at least the .api should be removed, so that the format selected by DefaultContentNegotiation is the one selected by the user.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /