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
I'm just using Zinc for some REST API and noticed this issue searching for some way to select the right MIME type to use for a response. So I browse the senders and noticed this cases in the own Zinc code that can be problematic.
Hi
I've noticed some senders of
accept
in the codebase that are doingasZnMimeType
.The accept headers can have the form:
according to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept .
When this is parsed by
asZnMimeType
it will not fail but the resulting object is not valid.The text was updated successfully, but these errors were encountered: