Am 2020-10-14 um 16:55 schrieb kfuj...@apache.org:
This is an automated email from the ASF dual-hosted git repository.

kfujino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
      new 42a0841  Add extended ErrorReportValve that returns response as JSON 
instead of HTML
42a0841 is described below

commit 42a0841d289a35117da842201622454a9f387cd7
Author: KeiichiFujino <kfuj...@apache.org>
AuthorDate: Wed Oct 14 23:54:22 2020 +0900

     Add extended ErrorReportValve that returns response as JSON instead of HTML

Why not properly negotiate the content type? It does not seems that you aren't returning the same content the HTML version does. Moreover, why don't you use the print writer from the response?

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to