Open GoogleCodeExporter opened 9 years ago
[deleted comment]
If using:
expect().body("root.child", equalTo("x")).when("/jsonp?callback=y");
we can try to detect whether or not the response is JSONP or plain JSON by e.g.
using reg exp.
Original comment by johan.ha...@gmail.com
on 10 Mar 2011 at 2:03
We could also try to identify jsonp in JsonPath using the reg exp
Original comment by johan.ha...@gmail.com
on 10 Mar 2011 at 2:50
Perhaps jsonp spec should be in the request spec instead? E.g.
given().
jsonp("callback").
expect().
body("root.child", equalTo("x")).
when().
get("/jsonp");
Original comment by johan.ha...@gmail.com
on 22 Mar 2011 at 6:15
Perhaps it should be a filter?
Original comment by johan.ha...@gmail.com
on 22 May 2011 at 8:46
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 10 Mar 2011 at 2:00