Closed skyline75489 closed 2 years ago
https://github.com/sparrowzoo/sparrow-shell/blob/aeafb5afe77b4c5316915ce61b8bf1e40aeff4de/sparrow-test/src/main/java/com.sparrow/controller/HelloController.java#L69
This now returns text/html which is not expected.
text/html
auto support content-type = application/json
https://github.com/sparrowzoo/sparrow-shell/blob/master/sparrow-mvc/src/main/java/com/sparrow/mvc/result/impl/JsonMethodReturnValueResolverHandlerImpl.java
Interesting. I see different result:
http://www.sparrowzoo.com/json-test.json
Full payload:
done
https://github.com/sparrowzoo/sparrow-shell/blob/aeafb5afe77b4c5316915ce61b8bf1e40aeff4de/sparrow-test/src/main/java/com.sparrow/controller/HelloController.java#L69
This now returns
text/html
which is not expected.