These are chat archives for abhijitsarkar/spring-soy-view

22nd
Jun 2014
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 07:55
wow, this is awesome I must say
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 08:08
what was the problem? Why didn't this work for an example project?
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 08:14
Are you guys working together with Brandon?
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 08:38
Sounds like a release possibility now
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 09:08
Why is this a warning? 10:08:31.001 [qtp1475759966-19] WARN p.m.soy.SoyTemplateViewResolver - More than one content type is not currently supported; only first one (text/html) will be used.
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 09:19
Actually, we still have a problem, notice when for instance you use curl with a spring-soy-view-example application, e.g. curl http://localhost:8080/
what I get is the following: Mateusza-Mac-5:spring-soy-view mati$ curl http://localhost:8080/
{"model":{"serverTime":"2014-06-22 11:18:08","words":["hello","world","from","spring","controller!"]}}
which is not correct I guess
spring-soy-view mati$ curl -I http://localhost:8080/
HTTP/1.1 200 OK
Content-Language: en-US
Content-Type: application/json;charset=UTF-8
Pragma: no-cache
Cache-Control: no-cache, no-store, max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Length: 102
Server: Jetty(8.1.8.v20121106)
In such case I would expect that a default implementation returns text/html
Mateusz Czeladka
@matiwinnetou
Jun 22 2014 18:25
Are you there?