Show a nice message if access to resource is forbidden

Description

Right now JSON is shown: {"error":"client tried to GET a resource without being authorized for it."}

This should be returned for application/json only, but a browser should show a nice message and/or picture. Perhaps there are free sets of images for HTTP status codes?

This issue is important for embedded previews using iframes.

Environment

None
Fixed

Assignee

Hannes Ebner

Reporter

Hannes Ebner

Labels

None

Fix versions

Priority

Normal