On Mon, Jan 19, 2009 at 12:13 PM, Carsten Ziegeler <[email protected]> wrote:
> Felix Meschberger wrote: >> ...Hmm, couldn't the console just set the response content type and the >> maven-sling-plugin verify that this content type actually indicates JSON... > Yes, this would make the json handling more robust, good idea. But > overall we need to check the version of the console anyway I think. The > maven sling plugin requires new features (in the sense that the web > console allows new json get requests).... And that might be the case in the future as well, so why not add an info resource URL to the console, that provides information about the console version, supported features etc? I'm thinking of something like http://localhost:8888/system/console/info.properties which returns console-version: 1.2.2 installed-plugins: foo, bar (or JSON format, whatever's most convenient) We probably don't need installed-plugins right now, that's just an example. -Bertrand
