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
Will be nice if the response of a global error thrown by the library respect the media type provided by Accept header.
This is when error is thrown to a browser (Accept: text/html) error is rendered like now but if it's thrown to the API client (Accept: application/*json) return application/problem+json response.
Will be nice if the response of a global error thrown by the library respect the media type provided by
Accept
header.This is when error is thrown to a browser (
Accept: text/html
) error is rendered like now but if it's thrown to the API client (Accept: application/*json
) returnapplication/problem+json
response.Originally posted by @Maks3w at zfcampus/zf-rest#72
The text was updated successfully, but these errors were encountered: