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

fix(gateway): JSON when Accept is a list #9533

Merged
merged 1 commit into from
Jan 11, 2023
Merged

Commits on Jan 11, 2023

  1. fix(gateway): JSON when Accept is a list

    Block/CAR responses always had single explicit type, and we did not bother
    with implementing/testing lists.
    
    With the introduction of JSON people may start passing a list.
    This is the most basic fix which will return on the first matching
    type (in order). This does not implements weights (can be added in
    future, if needed).
    
    Closes #9520
    lidel committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    8b62f10 View commit details
    Browse the repository at this point in the history