DescriptionIntroduce CajaResponseRewriter.java. This rewriter will cajole responses containing javascript if the "cajole" parameter is passed and set to 1.
Example usage:
curl -v "http://localhost:8080/gadgets/concat?container=default&gadget=[insert_gadget_uri]&nocache=1&type=js&1=[insert_js_uri]&cajole=1&nocache=1&debug=1"
Few things left to do:
1) Cajole responses other than javascript.
2) Intelligently detect if the response is javascript instead of depending on the mime type.
Patch Set 1 #
Total comments: 2
MessagesTotal messages: 6
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||