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
Does the preference of application/json decreases due to duplication? And the availableMediaTypes given to the mediaTypes() should be concrete concrete types?
The text was updated successfully, but these errors were encountered:
Hi @zeronone, for the first question, I need to consult the specifications to determine what exactly the behavior should be.
For your question about the concrete types, yes, the server must supply concrete types, while it is the client that can supply wildcards. This is because a server will have a set of actual concrete things it can send back to a client, while a client can ask for various different types. The formulation of these algorithms is specified in various HTTP RFCs.
What is the expected behavior if there are duplicate content-types inside the Accept header.
Does the preference of
application/json
decreases due to duplication? And theavailableMediaTypes
given to themediaTypes()
should be concrete concrete types?The text was updated successfully, but these errors were encountered: