perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.63k stars 1.56k forks source link

after not working #1116

Closed leetomlee123 closed 5 years ago

leetomlee123 commented 5 years ago

after((request, response) -> { response.type(MediaType.APPLICATION_JSON); });

it is not change contentType , how do i

                                                                                                                        hope your replay