You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Hasan Hasan (Jira)" <ji...@apache.org> on 2022/02/08 18:32:00 UTC

[jira] [Closed] (CLEREZZA-354) wrong mime type returned on error

     [ https://issues.apache.org/jira/browse/CLEREZZA-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hasan Hasan closed CLEREZZA-354.
--------------------------------
    Resolution: Won't Fix

> wrong mime type returned on error
> ---------------------------------
>
>                 Key: CLEREZZA-354
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-354
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: OSX, but all presumably 
>            Reporter: Henry Story
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> If you ask for a document with the wrong mime type, the error is said to be in format text/html, but is in fact in text/plain . 
> $ curl -i -H "Accept: application/xml+xhtml" http://localhost:8080/user/admin/profile 
> HTTP/1.1 500 Server Error
> Content-Length: 26
> Content-Type: text/html
> Cache-Control: no-cache
> Server: Jetty(8.0.0.M1)
> No suitable renderer found



--
This message was sent by Atlassian Jira
(v8.20.1#820001)